SDPStreamPurpose.fromJson constructor

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

Implementation

factory SDPStreamPurpose.fromJson(Map<String, dynamic> json) =>
    SDPStreamPurpose(
      audio_muted: json['audio_muted'] as bool? ?? false,
      video_muted: json['video_muted'] as bool? ?? false,
      purpose: json['purpose'] as String,
    );