toJson method

Map<String, dynamic> toJson()

Implementation

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