onInitialize method
Called by initialize. Returns true if successfully initialized.
If false, the executor stays in ExecutorState.Created. This is a synchronous method and must be light-weight.
Implementation
@override
bool onInitialize() {
// check if SysInfo is available (seems not to be available on iOS)
SysInfo.getFreePhysicalMemory();
return true;
}