ConfigMemory class

Represents an amount of memory in bytes.

Uses the base-2 KiB notation (1024 bytes), instead of the more ambiguous 'kB', which can mean 1000 or 1024 bytes.

Constructors

ConfigMemory(int _bytes)
ConfigMemory.parse(String mem)
factory

Properties

bytes int
no setter
gibibytes num
no setter
hashCode int
The hash code for this object.
no setterinherited
kibibytes num
no setter
mebibytes num
no setter
pebibytes num
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tebibytes num
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited