toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final inputTimecodeSource = this.inputTimecodeSource;
  final startTimecode = this.startTimecode;
  final stopTimecode = this.stopTimecode;
  return {
    'inputTimecodeSource': inputTimecodeSource.toValue(),
    if (startTimecode != null) 'startTimecode': startTimecode,
    if (stopTimecode != null) 'stopTimecode': stopTimecode,
  };
}