runAsync method

  1. @Deprecated('Set to true the runAsync parameter instead.')
Future<bool> runAsync()

Run the StateX object's initAsync() function Override this function to repeatedly run initAsync()

Implementation

@Deprecated('Set to true the runAsync parameter instead.')
Future<bool> runAsync() {
  // Once true, initAsync() function is never run again
  // unless the runAsync() function is overridden.
  _ranAsync = true;
  return initAsync();
}