Item class
Constructors
Properties
- createdAt ↔ String?
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- destroy ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
getter/setter pair
- price ↔ String?
-
getter/setter pair
- priceCents ↔ int?
-
getter/setter pair
- quantity ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt ↔ String?
-
getter/setter pair
Methods
-
copyWith(
{String? id, String? description, int? priceCents, int? quantity, String? createdAt, String? updatedAt, String? price, bool? destroy}) → Item -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object o) → bool -
The equality operator.
override