toJson method

Map<String, dynamic> toJson()

Implementation

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