isError property

bool get isError

Implementation

bool get isError => type == MessageType.error;