cancelRequest method

void cancelRequest([
  1. dynamic reason
])

Implementation

void cancelRequest([dynamic reason]) => cancelToken.cancel(reason);