Variables.fromJson constructor

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

Implementation

Variables.fromJson(Map<String, dynamic> json) {
  eventName = json['Event-Name'];
  coreUUID = json['Core-UUID'];
  freeSWITCHHostname = json['FreeSWITCH-Hostname'];
  freeSWITCHSwitchname = json['FreeSWITCH-Switchname'];
  freeSWITCHIPv4 = json['FreeSWITCH-IPv4'];
  freeSWITCHIPv6 = json['FreeSWITCH-IPv6'];
  eventDateLocal = json['Event-Date-Local'];
  eventDateGMT = json['Event-Date-GMT'];
  eventDateTimestamp = json['Event-Date-Timestamp'];
  eventCallingFile = json['Event-Calling-File'];
  eventCallingFunction = json['Event-Calling-Function'];
  eventCallingLineNumber = json['Event-Calling-Line-Number'];
  eventSequence = json['Event-Sequence'];
}