restErrorCode property

int? get restErrorCode

Implementation

int? get restErrorCode => fromRest ? (originalError as RestException).response.statusCode : null;