IncomingInviteParams.fromJson constructor

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

Implementation

IncomingInviteParams.fromJson(Map<String, dynamic> json) {
  callID = json['callID'];
  variables = json['variables'] != null
      ? Variables.fromJson(json['variables'])
      : null;
  sdp = json['sdp'];
  callerIdName = json['caller_id_name'];
  callerIdNumber = json['caller_id_number'];
  calleeIdName = json['callee_id_name'];
  calleeIdNumber = json['callee_id_number'];
  telnyxSessionId = json['telnyx_session_id'];
  telnyxLegId = json['telnyx_leg_id'];
  displayDirection = json['display_direction'];
}