DoubleConverter class
double 转换,int | double | String,默认值 0.0
- Inheritance
-
- Object
- JsonNonnullConverter<
double, Object?> - DoubleConverter
Constructors
- DoubleConverter({double defaultValue = 0.0})
-
const
Properties
- defaultValue → double
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromJson(
Object? json) → double -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
double object) → Object? -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited