hasError property

bool get hasError

Проверка наличии ошибки

Implementation

bool get hasError => errorCode != null && errorCode != '0';