toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (apiProxy != null) 'apiProxy': apiProxy!,
  if (deployStartTime != null) 'deployStartTime': deployStartTime!,
  if (environment != null) 'environment': environment!,
  if (errors != null) 'errors': errors!,
  if (instances != null) 'instances': instances!,
  if (pods != null) 'pods': pods!,
  if (proxyDeploymentType != null)
    'proxyDeploymentType': proxyDeploymentType!,
  if (revision != null) 'revision': revision!,
  if (routeConflicts != null) 'routeConflicts': routeConflicts!,
  if (serviceAccount != null) 'serviceAccount': serviceAccount!,
  if (state != null) 'state': state!,
};