Item class
Represents an item to be stored in the database.
Contains the actual data payload as a JsonObject.
- Implementers
Constructors
- Item({required JsonObject item})
-
Creates a new Item with the given data
item.const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- item → JsonObject
-
The item's data payload.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{JsonObject? item}) → Item - Creates a copy of this Item with optionally modified fields.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override