failed property

bool failed

Implementation

bool get failed => error != null;