toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (baseImage != null) 'baseImage': baseImage!,
if (enableAutomaticUpdates != null)
'enableAutomaticUpdates': enableAutomaticUpdates!,
if (environmentVariables != null)
'environmentVariables': environmentVariables!,
if (functionTarget != null) 'functionTarget': functionTarget!,
if (imageUri != null) 'imageUri': imageUri!,
if (name != null) 'name': name!,
if (serviceAccount != null) 'serviceAccount': serviceAccount!,
if (sourceLocation != null) 'sourceLocation': sourceLocation!,
if (workerPool != null) 'workerPool': workerPool!,
};