equals method

bool equals(
  1. Object other
)

Implementation

bool equals(Object other) {
  if (!(other is PrecisionModel)) {
    return false;
  }
  PrecisionModel otherPrecisionModel = other;
  return modelType == otherPrecisionModel.modelType &&
      scale == otherPrecisionModel.scale;
}