RxFuture<T>.idle constructor

RxFuture<T>.idle(
  1. Future<T> _loader(), {
  2. bool isEmpty(
    1. T data
    )?,
})

Creates an RxFuture that starts in EmptyStatus without running the loader until reload or revalidate is invoked.

Implementation

RxFuture.idle(
  this._loader, {
  this.isEmpty,
}) : super(SintStatus<T>.empty());