next method
This method will call next middleware in the chain. Initially this method get
called by the RestClient
.
Implementation
Future<R> next(R row) async {
final next = _next;
if (next == null) {
return row;
} else {
return await onNext(row, next);
}
}