toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final framerate = this.framerate;
  final input = this.input;
  final insertionMode = this.insertionMode;
  final offset = this.offset;
  final playback = this.playback;
  final startTime = this.startTime;
  return {
    if (framerate != null) 'framerate': framerate,
    if (input != null) 'input': input,
    if (insertionMode != null) 'insertionMode': insertionMode.toValue(),
    if (offset != null) 'offset': offset,
    if (playback != null) 'playback': playback.toValue(),
    if (startTime != null) 'startTime': startTime,
  };
}