init method

  1. @override
Future<void> init()

Implementation

@override
Future<void> init() async {
  _prefs ??= await SharedPreferences.getInstance();
}