operator == method
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;
This is equal only to an error result with equal error and stackTrace.
@override
bool operator ==(Object other) =>
other is ErrorResult &&
error == other.error &&
stackTrace == other.stackTrace;