PlexAsyncAction<T> constructor

const PlexAsyncAction<T>(
  1. Future<T> _task(), {
  2. void onError(
    1. Object error,
    2. StackTrace stack
    )?,
  3. void onSuccess(
    1. T result
    )?,
})

Implementation

const PlexAsyncAction(this._task, {this.onError, this.onSuccess});