operator == method

  1. @override
bool operator ==(
  1. 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;