StreamSelection.fromJson constructor

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

Implementation

factory StreamSelection.fromJson(Map<String, dynamic> json) {
  return StreamSelection(
    maxVideoBitsPerSecond: json['maxVideoBitsPerSecond'] as int?,
    minVideoBitsPerSecond: json['minVideoBitsPerSecond'] as int?,
    streamOrder: (json['streamOrder'] as String?)?.toStreamOrder(),
  );
}