MotionImageInserter.fromJson constructor
MotionImageInserter.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MotionImageInserter.fromJson(Map<String, dynamic> json) {
return MotionImageInserter(
framerate: json['framerate'] != null
? MotionImageInsertionFramerate.fromJson(
json['framerate'] as Map<String, dynamic>)
: null,
input: json['input'] as String?,
insertionMode:
(json['insertionMode'] as String?)?.toMotionImageInsertionMode(),
offset: json['offset'] != null
? MotionImageInsertionOffset.fromJson(
json['offset'] as Map<String, dynamic>)
: null,
playback: (json['playback'] as String?)?.toMotionImagePlayback(),
startTime: json['startTime'] as String?,
);
}