SipIncomingCallEventResult.fromJson constructor Null safety

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

Implementation

SipIncomingCallEventResult.fromJson(Map<String, dynamic> json) {
  this.event = json["event"];
  this.username = json["username"];
  this.displayname = json["displayname"];
  this.callee = json["callee"];
  this.referredBy = json["referred_by"];
  this.replaces = json["replaces"];
  this.srtp = json["srtp"];
  this.headers = json["headers"];
}