singleOrError method

  1. @Deprecated('Applying singleOnError() to a Single has no effect. ' 'Use this Single directly instead.')
Single<T> singleOrError()

Return this Single.

Implementation

@Deprecated('Applying singleOnError() to a Single has no effect. '
    'Use this Single directly instead.')
@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
Single<T> singleOrError() => this;