collection method
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);