init static method

Future init(
  1. String appID
)

Implementation

static Future init(String appID) async {
  try {
    await FlutterMongoRealm.connectToMongo(appID);
  } on PlatformException catch (_) {
    // to ignore re-setting default app can twice
  }
  _auth = MongoRealmAuth();
}