PrimitiveSerializer<T> class abstract

A Serializer that serializes to and from primitive JSON values.

Implemented types
Implementers

Constructors

PrimitiveSerializer()

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 setterinherited
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 setterinherited

Methods

deserialize(Serializers serializers, Object serialized, {FullType specifiedType = FullType.unspecified}) → T
Deserializes serialized.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(Serializers serializers, T object, {FullType specifiedType = FullType.unspecified}) Object
Serializes object.
toString() String
A string representation of this object.
inherited

Operators

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