GetPartitionsResponse.fromJson constructor
Implementation
factory GetPartitionsResponse.fromJson(Map<String, dynamic> json) {
return GetPartitionsResponse(
nextToken: json['NextToken'] as String?,
partitions: (json['Partitions'] as List?)
?.whereNotNull()
.map((e) => Partition.fromJson(e as Map<String, dynamic>))
.toList(),
);
}