SipCallingEvent.fromJson constructor Null safety

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

Implementation

SipCallingEvent.fromJson(Map<String, dynamic> json) {
  this.sip = json["sip"];
  this.callId = json["call_id"];
  this.result = json["result"] == null
      ? null
      : SipCallingEventResult.fromJson(json["result"]);
}