AnimationFade.fromJson constructor

AnimationFade.fromJson(
  1. Map json_
)

Implementation

AnimationFade.fromJson(core.Map json_)
    : this(
        endTimeOffset: json_.containsKey('endTimeOffset')
            ? json_['endTimeOffset'] as core.String
            : null,
        fadeType: json_.containsKey('fadeType')
            ? json_['fadeType'] as core.String
            : null,
        startTimeOffset: json_.containsKey('startTimeOffset')
            ? json_['startTimeOffset'] as core.String
            : null,
        xy: json_.containsKey('xy')
            ? NormalizedCoordinate.fromJson(
                json_['xy'] as core.Map<core.String, core.dynamic>)
            : null,
      );