CompactInterval class
A half-open input-magnitude range [from, to), with an independent divisor. Missing inner bounds inherit the explicit endpoint of the neighbour. In copyWith overrides, missing bounds infer from the original target. Explicit infinite powers always keep an end open.
- Annotations
Constructors
- CompactInterval({CompactPower? from, CompactPower? to, CompactPower scale = CompactPower.one, CompactNotation notation = const CompactNotation.decimal(), String prefix = '', String suffix = '', CompactLabel? prefixLabel, CompactLabel? suffixLabel, String separator = '', CompactFormatter? formatter})
-
const
Properties
- formatter → CompactFormatter?
-
final
- from → CompactPower?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- notation → CompactNotation
-
final
- prefix → String
-
final
- prefixLabel → CompactLabel?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → CompactPower
-
final
- separator → String
-
Inserted between each nonempty affix and the formatted number.
final
- suffix → String
-
final
- suffixLabel → CompactLabel?
-
final
- to → CompactPower?
-
final
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 ==(
Object other) → bool -
The equality operator.
override