toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (defaultEnvironment != null)
        'defaultEnvironment': defaultEnvironment!,
      if (image != null) 'image': image!,
      if (imageRepositoryCertPath != null)
        'imageRepositoryCertPath': imageRepositoryCertPath!,
      if (imageRepositoryPasswordSecretId != null)
        'imageRepositoryPasswordSecretId': imageRepositoryPasswordSecretId!,
      if (imageRepositoryUsernameSecretId != null)
        'imageRepositoryUsernameSecretId': imageRepositoryUsernameSecretId!,
      if (metadata != null) 'metadata': metadata!,
      if (sdkInfo != null) 'sdkInfo': sdkInfo!,
    };