InformationSize.fromTerabytes constructor

InformationSize.fromTerabytes(
  1. Rational terabytes
)

Creates an InformationSize representing the specified number of terabytes.

Implementation

factory InformationSize.fromTerabytes(Rational terabytes) =>
    InformationSize.fromUnits(InformationUnit.terabyte, terabytes);