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