service property
HealthFactory?
service
A handle to the HealthFactory
plugin.
Returns null if the service is not configured.
Implementation
HealthFactory? get service => (configuration != null)
? _service ??= HealthFactory(useHealthConnectIfAvailable: true)
: null;