ItemSerializable class abstract

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

Written by: @pariterre and @Guibi1

Implementers

Constructors

ItemSerializable({String? id})
Creates an ItemSerializable with the provided id, or a randomly generated one.
ItemSerializable.fromSerialized(dynamic map)
Creates an ItemSerializable from a map of serialized items.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The global id of each instances.
final
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.
serializedMap() Map<String, dynamic>
Must be overriten to serialise additionnal information.
toString() String
A string representation of this object.
inherited

Operators

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