AVPTrackInfo.fromJson constructor

AVPTrackInfo.fromJson(
  1. Map json
)

Implementation

AVPTrackInfo.fromJson(Map<dynamic, dynamic> json) {
  vodFormat = json['vodFormat'];
  videoHeight = json['videoHeight'];
  subtitleLanguage = json['subtitleLanguage'];
  videoWidth = json['videoWidth'];
  trackBitrate = json['trackBitrate'];
  vodFileSize = json['vodFileSize'];
  trackIndex = json['trackIndex'];
  trackDefinition = json['trackDefinition'];
  audioSampleFormat = json['audioSampleFormat'];
  audioLanguage = json['audioLanguage'];
  vodPlayUrl = json['vodPlayUrl'];
  trackType = json['trackType'];
  audioSamplerate = json['audioSamplerate'];
  audioChannels = json['audioChannels'];
}