toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (channel != null) 'channel': channel!,
if (defaultVersion != null) 'defaultVersion': defaultVersion!,
if (validVersions != null) 'validVersions': validVersions!,
};