toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'delay': delay,
    'endDelay': endDelay,
    'iterationStart': iterationStart,
    'iterations': iterations,
    'duration': duration,
    'direction': direction,
    'fill': fill,
    'easing': easing,
    if (backendNodeId != null) 'backendNodeId': backendNodeId!.toJson(),
    if (keyframesRule != null) 'keyframesRule': keyframesRule!.toJson(),
  };
}