getInstance static method

Future getInstance()

Implementation

static Future getInstance() async {
  prefs = await SharedPreferences.getInstance();
  try {
    // _channel.invokeMethod("initSdk",{"env": getEnv()});
    // if (_isProduct) {
    //   prefs.setString(_envPrefsKey, "2");
    // }
  } on PlatformException catch (e) {
  } on MissingPluginException catch (e) {}
}