ServerConfig.fromJson constructor
ServerConfig.fromJson(
- Map json_
Implementation
ServerConfig.fromJson(core.Map json_)
: this(
channels: (json_['channels'] as core.List?)
?.map((value) => ReleaseChannelConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
defaultClusterVersion: json_['defaultClusterVersion'] as core.String?,
defaultImageType: json_['defaultImageType'] as core.String?,
validImageTypes: (json_['validImageTypes'] as core.List?)
?.map((value) => value as core.String)
.toList(),
validMasterVersions: (json_['validMasterVersions'] as core.List?)
?.map((value) => value as core.String)
.toList(),
validNodeVersions: (json_['validNodeVersions'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);