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