SerializersBuilder class abstract
Builder for Serializers.
Constructors
- SerializersBuilder()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
Serializer serializer) → void -
Adds a Serializer. It will be used to handle the type(s) it declares
via its
types
property. -
addAll(
Iterable< Serializer> serializers) → void - Adds an iterable of Serializer.
-
addBuilderFactory(
FullType specifiedType, Function function) → void - Adds a builder factory.
-
addPlugin(
SerializerPlugin plugin) → void - Installs a SerializerPlugin that applies to all serialization and deserialization.
-
build(
) → Serializers -
merge(
Serializers serializers) → void - Merges a Serializers, adding all of its Serializer instances and builder factories. Does not add plugins.
-
mergeAll(
Iterable< Serializers> serializersIterable) → void - Merges an iterable of Serializers.
-
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