toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (commands != null) 'commands': commands!,
if (entrypoint != null) 'entrypoint': entrypoint!,
if (imageUri != null) 'imageUri': imageUri!,
if (options != null) 'options': options!,
if (volumes != null) 'volumes': volumes!,
};