SDPStreamMetadata.fromJson constructor

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

Implementation

factory SDPStreamMetadata.fromJson(Map<String, dynamic> json) =>
    SDPStreamMetadata(json.map(
        (key, value) => MapEntry(key, SDPStreamPurpose.fromJson(value))));