Creates an instance of DataService.
DataService
Optional
app: FirebaseAppinstance of firebase app
Optional
collectionOptional
collectionThis method used to keep the instance of the collection.
string
This method used to returns the DocumentData stored in the firestores's collection.
Promise<QuerySnapshot
Optional
queryConstraints: QueryConstraint[]array ( list of where clauses )
This method used to keep the instance of the sub collection.
string
Generated using TypeDoc
DataService class used for initialize the SDK