toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (workerHealthReportResponse != null)
        'workerHealthReportResponse': workerHealthReportResponse!,
      if (workerMetricsResponse != null)
        'workerMetricsResponse': workerMetricsResponse!,
      if (workerShutdownNoticeResponse != null)
        'workerShutdownNoticeResponse': workerShutdownNoticeResponse!,
      if (workerThreadScalingReportResponse != null)
        'workerThreadScalingReportResponse':
            workerThreadScalingReportResponse!,
    };