Product class
Constructors
Properties
Methods
-
copyWith(
{int? id, String? name, double? price, String? description}) → Product -
override
-
create(
Product item) → Future< Product> -
inherited
-
delete(
int id) → Future< int> -
inherited
-
fromMap(
Map< String, dynamic> map) → Product -
override
-
initDb(
) → Future< void> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
int id) → Future< Product?> -
inherited
-
readAll(
) → Future< List< Product> > -
inherited
-
toMap(
Product item) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Product item) → Future< int> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited