DoubleCodec class final
Constructors
- DoubleCodec({double? min, double? max, bool ratio = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → double?
-
final
- min → double?
-
final
- ratio → bool
-
A ratio (an aspect ratio): stored with writeRatio's precision, not
rounded to 4 decimals.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → PropType
-
What the values are (for panels, docs, codegen).
no setteroverride
Methods
-
decode(
Object? json) → double? -
override
-
encode(
double value) → Object -
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