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