boot method

  1. @override
Future<void> boot(
  1. ServiceLocator serviceLocator
)
override

Boot.

Implementation

@override
Future<void> boot(ServiceLocator serviceLocator) async {
  serviceLocator.registerSingleton<KeyValueStore>(
    KeyValueStore(await SharedPreferences.getInstance()),
  );
}