Mp4Settings.fromJson constructor

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

Implementation

factory Mp4Settings.fromJson(Map<String, dynamic> json) {
  return Mp4Settings(
    audioDuration: (json['audioDuration'] as String?)?.toCmfcAudioDuration(),
    cslgAtom: (json['cslgAtom'] as String?)?.toMp4CslgAtom(),
    cttsVersion: json['cttsVersion'] as int?,
    freeSpaceBox: (json['freeSpaceBox'] as String?)?.toMp4FreeSpaceBox(),
    moovPlacement: (json['moovPlacement'] as String?)?.toMp4MoovPlacement(),
    mp4MajorBrand: json['mp4MajorBrand'] as String?,
  );
}