toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (containerConcurrency != null)
        'containerConcurrency': containerConcurrency!,
      if (containers != null) 'containers': containers!,
      if (enableServiceLinks != null)
        'enableServiceLinks': enableServiceLinks!,
      if (imagePullSecrets != null) 'imagePullSecrets': imagePullSecrets!,
      if (serviceAccountName != null)
        'serviceAccountName': serviceAccountName!,
      if (timeoutSeconds != null) 'timeoutSeconds': timeoutSeconds!,
      if (volumes != null) 'volumes': volumes!,
    };