ifErrorAsync abstract method

Future<Response<T>> ifErrorAsync(
  1. Future callback(
    1. T? payload
    ), {
  2. int? specificError,
})

Implementation

Future<Response<T>> ifErrorAsync(Future Function(T? payload) callback, {int? specificError});