SerializerValue<T> class
A Serializer from a fromJson function
- Inheritance
-
- Object
- Serializer<
T> - SerializerValue
Constructors
-
SerializerValue({required T fromJson(SerdeCtx, Map<
String, dynamic> json), String? key}) -
A Serializer from a
fromJson
functionconst
Properties
-
generic
→ GenericHelp<
T> -
Helper utilities for working with the generic type argument
T
.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
final
-
keys
→ List<
String> -
Strings that can be used to reference this serializer
no setteroverride
-
listSerializer
→ Serializer<
List< T> > -
no setterinherited
-
listSerializerNull
→ Serializer<
List< T> ?> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromJson(
SerdeCtx ctx, Object? json) → T -
Executes the deserialization of
json
into a value of typeT
.override -
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