toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (channels != null) 'channels': channels!,
      if (defaultClusterVersion != null)
        'defaultClusterVersion': defaultClusterVersion!,
      if (defaultImageType != null) 'defaultImageType': defaultImageType!,
      if (validImageTypes != null) 'validImageTypes': validImageTypes!,
      if (validMasterVersions != null)
        'validMasterVersions': validMasterVersions!,
      if (validNodeVersions != null) 'validNodeVersions': validNodeVersions!,
    };