PlexAsyncAction<T> constructor
const
PlexAsyncAction<T> (
- Future<
T> _task(), { - void onError(
- Object error,
- StackTrace stack
- void onSuccess(
- T result
Implementation
const PlexAsyncAction(this._task, {this.onError, this.onSuccess});