toJson method
Implementation
@override
Object toJson() => {
if (env.isNotDefault) 'env': encodeList(env),
if (secretEnv.isNotDefault) 'secretEnv': encodeList(secretEnv),
if (pscInterfaceConfig != null)
'pscInterfaceConfig': pscInterfaceConfig!.toJson(),
if (minInstances != null) 'minInstances': minInstances,
if (maxInstances != null) 'maxInstances': maxInstances,
if (resourceLimits.isNotDefault) 'resourceLimits': resourceLimits,
if (containerConcurrency != null)
'containerConcurrency': containerConcurrency,
};