TimecodeConfig.fromJson constructor

TimecodeConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TimecodeConfig.fromJson(Map<String, dynamic> json) {
  return TimecodeConfig(
    source: (json['source'] as String).toTimecodeConfigSource(),
    syncThreshold: json['syncThreshold'] as int?,
  );
}