ItemSerializableWithCreationTime class abstract

The base class for the timable items contained in all the custom containers.

Written by: @pariterre and @Guibi1

Inheritance

Constructors

ItemSerializableWithCreationTime.new({String? id, int? creationTimeStamp})
Creates an ItemSerializableWithCreationTime with the original creationTimeStamp.
ItemSerializableWithCreationTime.fromSerialized(dynamic map)
Creates an ItemSerializableWithCreationTime from a map of serialized items.

Properties

creationTimeStamp int
The global creation time stamp of each instances.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The global id of each instances.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, dynamic>
Serializes the current object.
override
serializedMap() Map<String, dynamic>
Must be overriten to serialise additionnal information.
inherited
toString() String
A string representation of this object.
inherited

Operators

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