Capacity.fromJson constructor

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

Implementation

factory Capacity.fromJson(Map<String, dynamic> json) {
  return Capacity(
    capacityUnits: json['CapacityUnits'] as double?,
    readCapacityUnits: json['ReadCapacityUnits'] as double?,
    writeCapacityUnits: json['WriteCapacityUnits'] as double?,
  );
}