operator == method
- Object other
override
This is equal only to an error result with equal error and stackTrace.
Implementation
@override
bool operator ==(Object other) =>
other is ErrorResult &&
error == other.error &&
stackTrace == other.stackTrace;