DefaultSerializer<T> class

Default Serializer that handles basic types and nested CrystallisMixin.. See serialize and deserialize functions for details.

Inheritance

Constructors

DefaultSerializer()
Creates a DefaultSerializer.
const

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

deserialize(Object? value) → T
Function that converts from type O to type I
override
deserializeUntyped(Object? value) Object?
Deserialize a value without requiring the caller to know O.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(T value) Object?
Function that converts from type I to type O
override
serializeUntyped(Object? value) Object?
Serialize a value without requiring the caller to know I.
inherited
toString() String
A string representation of this object.
inherited

Operators

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