ProvisionedThroughput.fromJson constructor

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

Implementation

factory ProvisionedThroughput.fromJson(Map<String, dynamic> json) {
  return ProvisionedThroughput(
    readCapacityUnits: json['ReadCapacityUnits'] as int,
    writeCapacityUnits: json['WriteCapacityUnits'] as int,
  );
}