SipRegisteredEvent.fromJson constructor Null safety

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

Implementation

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