InformationSize.fromMegabytes constructor
InformationSize.fromMegabytes(
- Rational megabytes
Creates an InformationSize representing the specified number of megabytes
.
Implementation
factory InformationSize.fromMegabytes(Rational megabytes) =>
InformationSize.fromUnits(InformationUnit.megabyte, megabytes);