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
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