ReleaseChannelConfig.fromJson constructor
ReleaseChannelConfig.fromJson(
- Map json_
Implementation
ReleaseChannelConfig.fromJson(core.Map json_)
: this(
channel: json_.containsKey('channel')
? json_['channel'] as core.String
: null,
defaultVersion: json_.containsKey('defaultVersion')
? json_['defaultVersion'] as core.String
: null,
validVersions: json_.containsKey('validVersions')
? (json_['validVersions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);