BinarySize class
Constructors
Properties
- bytesCount ↔ BigInt
-
getter/setter pair
- displayText → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- standard ↔ BinarySizeConventionStandard
-
getter/setter pair
Methods
-
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 *(
BinarySize other) → BinarySize -
operator +(
BinarySize other) → BinarySize -
operator -(
BinarySize other) → BinarySize -
operator /(
BinarySize other) → double -
operator <(
BinarySize other) → bool -
operator <=(
BinarySize other) → bool -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
BinarySize other) → bool -
operator >=(
BinarySize other) → bool
Static Methods
-
parse(
String size, {BinarySizeConventionStandard? fallbackStandard}) → BinarySize? -
Parse a text into a BinarySize object
When unit contains 'i', it will be considered as IEC standard
When unit contains no 'i', we will use
fallbackStandard
to determine the standardfallbackStandard
in default is BinarySizeSiStandard