operator == method

  • @override

bool operator == (Object other)

override

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) {
    return true;
  }
  if (runtimeType != other.runtimeType) {
    return false;
  }
  if (other is Struct) {
    return deepEquals($fields, other.$fields);
  }
  return false;
}