InformationSize.fromGigabytes constructor

InformationSize.fromGigabytes(
  1. Rational gigabytes
)

Creates an InformationSize representing the specified number of gigabytes.

Implementation

factory InformationSize.fromGigabytes(Rational gigabytes) =>
    InformationSize.fromUnits(InformationUnit.gigabyte, gigabytes);