isJsonResponse property

bool get isJsonResponse

Implementation

bool get isJsonResponse {
  return type == DioExceptionType.badResponse &&
      response!.data is Map<String, dynamic>;
}