Persistable<T extends Object> class abstract

The class of types that are Persistable.

Persistable types leverage serialization to store and recover (key, value) pairs through Serializable.fromMap and toMap.

Implemented types
Implementers

Constructors

Persistable.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
id → T
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
no setter

Methods

compareTo(Persistable<T> other) int
Compares this object to another object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() JsonMap
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of<T extends Persistable<Object>>() PersistableFor
override