# PageSnapCheckMarkAnimation.fromJson constructor

PageSnapCheckMarkAnimation.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory PageSnapCheckMarkAnimation.fromJson(Map<String, dynamic> json) =>
        PageSnapCheckMarkAnimation(
          overlayColor: json.containsKey("overlayColor")
              ? ScanbotColor(json["overlayColor"] as String)
              : ScanbotColor("?sbColorModalOverlay"),
          checkMarkBackgroundColor: json.containsKey("checkMarkBackgroundColor")
              ? ScanbotColor(json["checkMarkBackgroundColor"] as String)
              : ScanbotColor("?sbColorOutline"),
          checkMarkColor: json.containsKey("checkMarkColor")
              ? ScanbotColor(json["checkMarkColor"] as String)
              : ScanbotColor("#00000000"),
        );