isError property

  1. @override
bool isError
override

Whether this result is an error result.

Always the opposite of isValue.

Implementation

@override
bool get isError => true;