ChatService class

Properties

database → FirebaseDatabase
no setter
databaseURL String?
Why? FlutterFlow uses GoogleServiceInfo.plist and google-service.json for iOS and Android, respectively. The databaseURL is in the service files. But for Web, the databaseURL is not in the firebase options. So, it cannot connect to the Firebase Realtime Database in the web without knowing the databaseURL.
getter/setter pair
debug bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initialized bool
getter/setter pair
roomsRef → DatabaseReference
Database path for chat room and message Database of chat room and message
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init({required String databaseURL, String userCollectionName = 'users', bool debug = false, List<String>? userPrivateFields}) → dynamic
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 ChatService
no setter