instance property

Firestore get instance

Implementation

static Firestore get instance {
  if (_instance == null) {
    throw Exception(
        "Firestore hasn't been initialized. Please call Firestore.initialize() before using it.");
  }
  return _instance!;
}