ProvisionedThroughputDescription.fromJson constructor

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

Implementation

factory ProvisionedThroughputDescription.fromJson(Map<String, dynamic> json) {
  return ProvisionedThroughputDescription(
    lastDecreaseDateTime: timeStampFromJson(json['LastDecreaseDateTime']),
    lastIncreaseDateTime: timeStampFromJson(json['LastIncreaseDateTime']),
    numberOfDecreasesToday: json['NumberOfDecreasesToday'] as int?,
    readCapacityUnits: json['ReadCapacityUnits'] as int?,
    writeCapacityUnits: json['WriteCapacityUnits'] as int?,
  );
}