open method

Future<FireBaseDB> open()

Implementation

Future<FireBaseDB> open() async {
  final online = await isOnline();
  // No internet connection is available.
  if (!online) {
    return this;
  }

  try {
    await _db!.goOnline();
  } finally {}

  return this;
}