toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (args != null) 'args': args!,
if (command != null) 'command': command!,
if (env != null) 'env': env!,
if (image != null) 'image': image!,
if (ports != null) 'ports': ports!,
};