DbService class

Implemented types

Constructors

DbService(App app)

Properties

app App
no setter
connected bool
no setter
db ↔ Db?
getter/setter pair
getMemoryDb Map<String, List<Map<String, dynamic>>>
get the actual memory db Object(data stored on this object)
no setter
getMongoDB → Db
get the actual mongoDb reference for more control on the mongo db
no setter
hashCode int
The hash code for this object.
no setterinherited
memoryDbController MemoryDbController
Non persistent db, data saved to RAM
no setter
mongoDbController MongoDbController
MongoDb controller
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connectToDb({bool force = false}) Future<Db?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reconnect() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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