toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (abortCause != null) 'abortCause': abortCause!,
      if (destinationEgressLocation != null)
        'destinationEgressLocation': destinationEgressLocation!,
      if (endpointInfo != null) 'endpointInfo': endpointInfo!,
      if (error != null) 'error': error!,
      if (probingLatency != null) 'probingLatency': probingLatency!,
      if (result != null) 'result': result!,
      if (sentProbeCount != null) 'sentProbeCount': sentProbeCount!,
      if (successfulProbeCount != null)
        'successfulProbeCount': successfulProbeCount!,
      if (verifyTime != null) 'verifyTime': verifyTime!,
    };