DigitalData class

Inheritance

Constructors

DigitalData({int significantFigures = 10, bool removeTrailingZeros = true, dynamic name})
Class for digitalData conversions, e.g. if you want to convert 1 megabit in kilobyte:

Properties

bit → Unit
no setter
byte → Unit
no setter
exabit → Unit
no setter
exabyte → Unit
no setter
exbibit → Unit
no setter
exbibyte → Unit
no setter
gibibit → Unit
no setter
gibibyte → Unit
no setter
gigabit → Unit
no setter
gigabyte → Unit
no setter
hashCode → int
The hash code for this object.
no setterinherited
kibibit → Unit
no setter
kibibyte → Unit
no setter
kilobit → Unit
no setter
kilobyte → Unit
no setter
mapSymbols → Map<DIGITAL_DATA, String>
final
mebibit → Unit
no setter
mebibyte → Unit
no setter
megabit → Unit
no setter
megabyte → Unit
no setter
name ↔ dynamic
getter/setter pairinherited
nibble → Unit
no setter
pebibit → Unit
no setter
pebibyte → Unit
no setter
petabit → Unit
no setter
petabyte → Unit
no setter
removeTrailingZeros ↔ bool
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
significantFigures ↔ int
getter/setter pair
size ↔ int
latefinalinherited
tebibit → Unit
no setter
tebibyte → Unit
no setter
terabit → Unit
no setter
terabyte → Unit
no setter
unitConversion ↔ Node
getter/setter pairinherited
unitList ↔ List<Unit>
getter/setter pairinherited

Methods

convert(DIGITAL_DATA name, double? value) → void
Converts a unit with a specific name (e.g. DIGITAL_DATA.byte) and value to all other units
override
getAll() → List<Unit>
Returns all the units converted with prefixes
inherited
getUnit(dynamic name) → Unit
Returns the Unit with the corresponding name
inherited
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 ==(Object other) → bool
The equality operator.
inherited