ShortLowercaseUnitStyle class
The unit will be displayed concisely with the prefix in lowercase.
For example, a kilobit will be shown as kb
and a kilobyte will be shown
as kB
.
Note: Bits will be shown as b
and bytes will be shown as B
indifferent
of whether ShortLowercaseUnitStyle or ShortUppercaseUnitStyle are used.
Constructors
- ShortLowercaseUnitStyle()
-
Returns an instance of ShortLowercaseUnitStyle.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
format(
Unit unit) → String -
Given a
unit
, formats it as a human-readable string in this style.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 ==(
Object other) → bool -
The equality operator.
inherited