Backpack class
Backpack class for storing data This class is not designed to store huge amounts of data.
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
-
delete(
String key) → void -
Delete a value using a
key
. -
deleteAll(
) → void - Delete all values from Backpack.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
nylo(
{String key = 'nylo'}) → Nylo - Returns an instance of Nylo.
-
read<
T> (String key) → T? -
Read data from the Backpack with a
key
. -
set(
String key, dynamic value) → void -
Set a value using a
key
andvalue
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited