isUnauthorizedError abstract method

bool isUnauthorizedError(
  1. DioException error
)

check to see if error is from unauthorized call

Implementation

bool isUnauthorizedError(DioException error);