DatabaseCreator class

Properties

database → Future<Database?>
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkIfTableExists(String tableName) → Future<int?>
createOrReturn() → Future<void>
deleteCartData() → Future<void>
getAllCartTableData() → Future<List<Map<String, dynamic>>>
getCartTableData() → Future<List<Map<String, dynamic>>>
getDataByStoreId(String store_id) → Future<List<Map<String, dynamic>>>
insert(String cart_id, String store_id) → Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateCustomerId(String store_id, String customer_id) → Future<int>
updateShippingAddressId(String store_id, String shipping_address_id) → Future<int>
updateShippingPaymentId(String store_id, String payment_method_id, String shipping_method_id) → Future<int>

Operators

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

Static Properties

instance → DatabaseCreator
final