Compatibility.fromJson constructor
Implementation
factory Compatibility.fromJson(Map<String, dynamic> json) {
return Compatibility(
clusterVersion: json['clusterVersion'] as String?,
defaultVersion: json['defaultVersion'] as bool?,
platformVersions: (json['platformVersions'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}