InformationSize.fromPetabytes constructor

InformationSize.fromPetabytes(
  1. Rational petabytes
)

Creates an InformationSize representing the specified number of petabytes.

Implementation

factory InformationSize.fromPetabytes(Rational petabytes) =>
    InformationSize.fromUnits(InformationUnit.petabyte, petabytes);