DescribeInventoryDeletionsResult.fromJson constructor

DescribeInventoryDeletionsResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeInventoryDeletionsResult.fromJson(Map<String, dynamic> json) {
  return DescribeInventoryDeletionsResult(
    inventoryDeletions: (json['InventoryDeletions'] as List?)
        ?.whereNotNull()
        .map((e) =>
            InventoryDeletionStatusItem.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}