AnswerSdpData.fromJson constructor

AnswerSdpData.fromJson(
  1. dynamic json
)

Implementation

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