ResourceSpecification.fromJson constructor
Implementation
factory ResourceSpecification.fromJson(Map<String, dynamic> json) {
return ResourceSpecification(
resourceType: (json['resourceType'] as String).toResourceType(),
reservedBitrate: json['reservedBitrate'] as int?,
);
}