SerializersBuilder class

Builder for Serializers.

Constructors

SerializersBuilder()
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited