operator == method

  • @override

bool operator == (dynamic other)

override

Implementation

@override
bool operator ==(dynamic other) {
  if (identical(this, other)) {
    return true;
  }
  if (runtimeType != other.runtimeType) {
    return false;
  }
  final XUnion otherUnion = other;
  if ($ordinal != otherUnion.$ordinal) {
    return false;
  }
  return deepEquals($data, otherUnion.$data);
}