TransactGetItemsOutput.fromJson constructor
Implementation
factory TransactGetItemsOutput.fromJson(Map<String, dynamic> json) {
return TransactGetItemsOutput(
consumedCapacity: (json['ConsumedCapacity'] as List?)
?.whereNotNull()
.map((e) => ConsumedCapacity.fromJson(e as Map<String, dynamic>))
.toList(),
responses: (json['Responses'] as List?)
?.whereNotNull()
.map((e) => ItemResponse.fromJson(e as Map<String, dynamic>))
.toList(),
);
}