asSingle method

Single<T> asSingle({
  1. bool reusable = false,
})

Converts this Function into a Single.

See Single.fromCallable.

Implementation

Single<T> asSingle({bool reusable = false}) =>
    Single.fromCallable(this, reusable: reusable);