toJson method
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 (nodeSelector != null) 'nodeSelector': nodeSelector!,
if (runtimeClassName != null) 'runtimeClassName': runtimeClassName!,
if (serviceAccountName != null)
'serviceAccountName': serviceAccountName!,
if (timeoutSeconds != null) 'timeoutSeconds': timeoutSeconds!,
if (volumes != null) 'volumes': volumes!,
};