Product class

Constructors

Product({required String id, String price_id = "", required String name, required String image_src, required int price, required String description, bool enabled = true})
const
Product.from_snapshot(String id, Map<String, dynamic> snapshot)

Properties

description String
final
enabled bool
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
image_src String
final
name String
final
price int
final
price_id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
to_json() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited