toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (args != null) 'args': args!,
if (command != null) 'command': command!,
if (deploymentTimeout != null) 'deploymentTimeout': deploymentTimeout!,
if (env != null) 'env': env!,
if (grpcPorts != null) 'grpcPorts': grpcPorts!,
if (healthProbe != null) 'healthProbe': healthProbe!,
if (healthRoute != null) 'healthRoute': healthRoute!,
if (imageUri != null) 'imageUri': imageUri!,
if (ports != null) 'ports': ports!,
if (predictRoute != null) 'predictRoute': predictRoute!,
if (sharedMemorySizeMb != null)
'sharedMemorySizeMb': sharedMemorySizeMb!,
if (startupProbe != null) 'startupProbe': startupProbe!,
};