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