collection method

  1. @override
CollectionReference<Map<String, dynamic>> collection(
  1. String collectionPath
)
override

Gets a CollectionReference for the specified Firestore path.

Implementation

@override
CollectionReference<Map<String, dynamic>> collection(String collectionPath) =>
    _collection == null
        ? throw UnimplementedError(
            'You must pass collection to the constructor of'
            ' FirebaseFirestoreFake',
          )
        : _collection!(collectionPath);