init method

  1. @override
Future<void> init([
  1. bool persistSession = true,
  2. bool ignoreExpires = false
])

Initialization for the Storage, e.g. prepare storage paths.

Implementation

@override
Future<void> init(
    [bool persistSession = true, bool ignoreExpires = false]) async {
  _prefs = await SharedPreferences.getInstance();
}