FirebaseListProvided<T> constructor

FirebaseListProvided<T>({
  1. required String pathToData,
  2. String? pathToAvailableDataIds,
})

Creates a FirebaseListProvided with the specified data path and ids path.

Implementation

FirebaseListProvided({
  required this.pathToData,
  String? pathToAvailableDataIds,
}) : _pathToAvailableDataIds = pathToAvailableDataIds ?? '$pathToData-ids' {
  _listenToDatabase();
}