MemUnit class

Implemented types

Constructors

MemUnit(int bytes)
const
MemUnit.fromGB(double gb)
factory
MemUnit.fromKB(double kb)
factory
MemUnit.fromMB(double mb)
factory

Properties

bytes int
final
hashCode int
The hash code for this object.
no setterinherited
inGB double
no setter
inKB double
no setter
inMB double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(MemUnit other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator *(num multiplier) MemUnit
operator +(MemUnit other) MemUnit
operator -(MemUnit other) MemUnit
operator /(num divider) MemUnit
operator ==(Object other) bool
The equality operator.
inherited

Constants

unknown → const MemUnit