SerializerInterface<T extends DatabaseStorable> class abstract

A interface for serialization for database storable objects

Implementers

Constructors

SerializerInterface()

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

construct() → T
constructs a new T object from an empty json
deserialize(JSON json) → T
deserializes a json into a T object. A empty json should also yield a correct object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(T element) JSON
serializes element into JSON
toString() String
A string representation of this object.
inherited

Operators

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