instance property
SharedPReferenceManager
get
instance
The constructor
Implementation
static SharedPReferenceManager get instance {
if (!getIt.isRegistered<SharedPReferenceManager>()) {
getIt.registerLazySingleton<SharedPReferenceManager>(
SharedPReferenceManager.new,
);
}
return getIt.get<SharedPReferenceManager>();
}