# PageSnapFunnelAnimation.fromJson constructor

PageSnapFunnelAnimation.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory PageSnapFunnelAnimation.fromJson(Map<String, dynamic> json) =>
        PageSnapFunnelAnimation(
          overlayColor: json.containsKey("overlayColor")
              ? ScanbotColor(json["overlayColor"] as String)
              : ScanbotColor("?sbColorModalOverlay"),
        );