VideoTrack.fromJson constructor
Implementation
factory VideoTrack.fromJson(Map<String, dynamic> json) {
return VideoTrack(
id: json['id'] as String,
width: json['width'] as int?,
height: json['height'] as int?,
bitrate: json['bitrate'] as int?,
label: json['label'] as String?,
isSelected: json['isSelected'] as bool? ?? false,
);
}