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