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