MediaConcurrency.fromJson constructor

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

Implementation

factory MediaConcurrency.fromJson(Map<String, dynamic> json) {
  return MediaConcurrency(
    channel: (json['Channel'] as String).toChannel(),
    concurrency: json['Concurrency'] as int,
  );
}