JsonNonnullConverter<T, S> class
abstract
非 Optional 带默认值的 Converter
- Implementers
Constructors
-
JsonNonnullConverter(T defaultValue, JsonConverter<
T?, S> _converter) -
const
Properties
- defaultValue → T
-
final
- 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(
S json) → T -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
T object) → S -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited