isError property

bool get isError

Implementation

bool get isError => error != null;