instance property
ApiProvider
get
instance
Provides the singleton instance of ApiProvider.
This getter returns the single instance of ApiProvider, creating it if it does not already exist.
Implementation
static ApiProvider get instance {
_instance ??= ApiProvider._();
return _instance!;
}