isError property

bool get isError

Return true if the EventStatus equals error.

Implementation

bool get isError => this == EventStatus.error;