IntConverter class
int 转换,int | double | String
,默认值 0
- Inheritance
-
- Object
- JsonNonnullConverter<
int, Object?> - IntConverter
Constructors
- IntConverter({dynamic defaultValue = 0})
-
const
Properties
- defaultValue → int
-
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) → int -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
int object) → Object? -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited