RemoteParticipantConsent.fromJson constructor

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

Implementation

factory RemoteParticipantConsent.fromJson(Map<String, dynamic> json) {
  return RemoteParticipantConsent(
    screenName: json['screen_name'],
    rtcParticipantUid: json['rtc_participant_uid'],
    role: json['role'],
    recordingConsentStatus: json['recording_consent_status'],
  );
}