onRegister method
Callback method when this package is being registered.
Implementation
@override
void onRegister() {
FromJsonFactory().registerAll([
HealthService(),
HealthSamplingConfiguration(healthDataTypes: []),
]);
}
Callback method when this package is being registered.
@override
void onRegister() {
FromJsonFactory().registerAll([
HealthService(),
HealthSamplingConfiguration(healthDataTypes: []),
]);
}