onRegister method
Callback method when this package is being registered.
Implementation
@override
void onRegister() {
FromJsonFactory().registerAll([
DeviceInformation(),
BatteryState(),
FreeMemory(),
ScreenEvent(),
Timezone(''),
]);
}