toJson method

Map<String, dynamic> toJson()

Implementation

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