operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Compares two AmountEstimate objects for equality.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;

  return other is AmountEstimate &&
      other.estimationQuality == estimationQuality &&
      other.moveDevice == moveDevice &&
      other.volumeEstimate == volumeEstimate &&
      other.viewingAngle == viewingAngle &&
      other.weightEstimate == weightEstimate;
}