InformationSize.fromKilobytes constructor

InformationSize.fromKilobytes(
  1. Rational kilobytes
)

Creates an InformationSize representing the specified number of kilobytes.

Implementation

factory InformationSize.fromKilobytes(Rational kilobytes) =>
    InformationSize.fromUnits(InformationUnit.kilobyte, kilobytes);