instance property
ApiCacheHelper
get
instance
Define a static getter for accessing the singleton instance of ApiCacheHelper. If the instance is not already initialized, create a new one using the factory constructor. Return the existing or newly created instance.
Implementation
//coverage:ignore-start
static ApiCacheHelper get instance {
_instance ??= ApiCacheHelperImplementation.instanceFor(
apiCacheManager: APICacheManager());
return _instance!;
}