toJson method

Map<String, dynamic> toJson()

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 (runAsUser != null) 'runAsUser': runAsUser!,
      if (workingDir != null) 'workingDir': workingDir!,
    };