TimecodeConfig.fromJson constructor

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

Implementation

factory TimecodeConfig.fromJson(Map<String, dynamic> json) {
  return TimecodeConfig(
    anchor: json['anchor'] as String?,
    source: (json['source'] as String?)?.toTimecodeSource(),
    start: json['start'] as String?,
    timestampOffset: json['timestampOffset'] as String?,
  );
}