JsonKey<T> class
Constructors
- JsonKey(String name, {T fromJson(DeserializationInfo info)?, Object? toJson(SerializationInfo info)?, Type? withConverter, String? alias, dynamic defaultValue, bool omitIfNull = true})
-
const
Properties
- alias → String?
-
final
- defaultValue → dynamic
-
final
- fromJson → T Function(DeserializationInfo info)?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- omitIfNull → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toJson → Object? Function(SerializationInfo info)?
-
final
- withConverter → Type?
-
final
Methods
-
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