init method

Future<void> init()

Implementation

Future<void> init() async {
  try {
    _prefs = await SharedPreferences.getInstance();

    await _initPca();
    if (Platform.isIOS) {
      await _initWebParams();
    }
    await loadAccounts();
  } catch (e) {
    rethrow;
  }
}