CompatibleVersionsMap.fromJson constructor
Implementation
factory CompatibleVersionsMap.fromJson(Map<String, dynamic> json) {
return CompatibleVersionsMap(
sourceVersion: json['SourceVersion'] as String?,
targetVersions: (json['TargetVersions'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}