SipHangupEvent.fromJson constructor Null safety

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

Implementation

SipHangupEvent.fromJson(Map<String, dynamic> json) {
  this.event = json["event"];
  this.code = json["code"];
  this.reason = json["reason"];
  this.reasonHeaderProtocol = json["reason_header_protocol"];
  this.reasonHeaderCause = json["reason_header_cause"];
}