toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cause != null) 'cause': cause!,
  if (destinationGeolocationCode != null)
    'destinationGeolocationCode': destinationGeolocationCode!,
  if (destinationIp != null) 'destinationIp': destinationIp!,
  if (region != null) 'region': region!,
  if (resourceUri != null) 'resourceUri': resourceUri!,
  if (sourceGeolocationCode != null)
    'sourceGeolocationCode': sourceGeolocationCode!,
  if (sourceIp != null) 'sourceIp': sourceIp!,
};