init static method

Future<void> init(
  1. GetIt locator
)

Implementation

static Future<void> init(GetIt locator) async {
  final sharePreferences = await SharedPreferences.getInstance();
  // locator.registerSingleton(PreferenceSource(sharePreferences));
}