collection method

CollectionReference<Map<String, dynamic>> collection({
  1. bool forTesting = false,
})

Implementation

CollectionReference<Map<String, dynamic>> collection(
    {bool forTesting = false}) {
  final firestore = FirestoreFactory(forTesting: forTesting).create();
  return firestore.getCollection(this);
}