AnswerSdpData.fromJson constructor
AnswerSdpData.fromJson(
- dynamic json
Implementation
factory AnswerSdpData.fromJson(dynamic json) {
return AnswerSdpData(
userId: json['userId'],
name: json['name'],
sdp: RTCSessionDescription(json['sdp']['sdp'], json['sdp']['type']),
);
}