onInit method Null safety
override
    wait for sync to initialize doing migrations, starting queue, etc.
Implementation
@override
Future<void> onInit() async {
  ever(syncController.state, modelStateFromSyncState);
  super.onInit();
}
wait for sync to initialize doing migrations, starting queue, etc.
@override
Future<void> onInit() async {
  ever(syncController.state, modelStateFromSyncState);
  super.onInit();
}