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