Animation.fromJson constructor

Animation.fromJson(
  1. Map _json
)

Implementation

Animation.fromJson(core.Map _json)
    : this(
        animationEnd: _json.containsKey('animationEnd')
            ? AnimationEnd.fromJson(
                _json['animationEnd'] as core.Map<core.String, core.dynamic>)
            : null,
        animationFade: _json.containsKey('animationFade')
            ? AnimationFade.fromJson(
                _json['animationFade'] as core.Map<core.String, core.dynamic>)
            : null,
        animationStatic: _json.containsKey('animationStatic')
            ? AnimationStatic.fromJson(_json['animationStatic']
                as core.Map<core.String, core.dynamic>)
            : null,
      );