Serializer<T> class
abstract
Serializes a single type.
You should not usually need to implement this interface. Implementations
are provided for collections and primitives in built_json
. Classes using
built_value
and enums using EnumClass
can have implementations
generated using built_json_generator
.
Implementations must extend either PrimitiveSerializer or StructuredSerializer.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
types
→ Iterable<
Type> -
The Types that can be serialized.
no setter
- wireName → String
-
The wire name of the serializable type. For most classes, the class name.
For primitives and collections a lower-case name is defined as part of
the
built_json
wire format.no setter
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