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