collection method

ColRef<Map<String, Object?>> collection(
  1. String collection
)

Implementation

ColRef<Map<String, Object?>> collection(String collection) {
  return ColRef<Map<String, Object?>>.withReference(isValid()
      ? instanceFirestoreOriginal().collection(collection)
      : instanceFirestoreWindows().collection(collection));
}