isUnknown property

bool get isUnknown

An enum received from the server but this version of the client doesn't recognize it.

Implementation

bool get isUnknown => values.every((v) => v.value != value);