ERPDBContext class abstract

Annotations
  • @TypeConverters.new([DateTimeConverter, DateTimeNullSafetyConverter, ListStringConverter, ListStringNullSafetyConverter])
  • @Database.new(version: 1, entities: [BranchModel, UserModel, UserRoleModel, BranchUserModel, PermissionModel, BranchUserPermissionModel, SessionModel, DeviceModel, CurrencyModel, AccountTypeModel, AccountLevelModel, AccountGroupModel, AccountModel, AccountCurrencyModel, ReceiptTypeModel, ReceiptModel, ReceiptDetailModel, ProductCatagoryModel, ProductTypeModel, MeasureUnitModel, StoreModel, ProductModel, ProductMeasureModel, ProductStorageModel])

Constructors

ERPDBContext()

Properties

account AccountDbSet
no setter
accountCurrency AccountCurrencyDbSet
no setter
accountGroup AccountGroupDbSet
no setter
accountLevel AccountLevelDbSet
no setter
accountType AccountTypeDbSet
no setter
branch BranchDbSet
no setter
branchUser BranchUserDbSet
no setter
branchUserPermission BranchUserPermissionDbSet
no setter
changeListener StreamController<String>
StreamController that is responsible for notifying listeners about changes in specific tables. It acts as an event bus.
latefinalinherited
currency CurrencyDbSet
no setter
database ↔ DatabaseExecutor
Use this whenever you need direct access to the sqflite database.
latefinalinherited
device DeviceDbSet
no setter
hashCode int
The hash code for this object.
no setterinherited
measureUnit MeasureUnitDbSet
no setter
permission PermissionDbSet
no setter
product ProductDbSet
no setter
productCatagory ProductCatagoryDbSet
no setter
productMeasure ProductMeasureDbSet
no setter
productStorage ProductStorageDbSet
no setter
productType ProductTypeDbSet
no setter
receipt ReceiptDbSet
no setter
receiptDetail ReceiptDetailDbSet
no setter
receiptType ReceiptTypeDbSet
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session SessionDbSet
no setter
store StoreDbSet
no setter
user UserDbSet
no setter
userRole UserRoleDbSet
no setter

Methods

close() Future<void>
Closes the database.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ERPDBContext
getter/setter pair