operator == method

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

按全部字段比较值。

Implementation

@override
bool operator ==(Object other) =>
    other is NumberWheelOptions &&
    other.discSpeedRatio == discSpeedRatio &&
    other.trackOuterFactor == trackOuterFactor &&
    other.trackInnerFactor == trackInnerFactor &&
    other.labelOuterFactor == labelOuterFactor &&
    other.labelInnerFactor == labelInnerFactor &&
    other.pocketOuterFactor == pocketOuterFactor &&
    other.pocketInnerFactor == pocketInnerFactor &&
    other.hubFactor == hubFactor &&
    other.ballRadiusFactor == ballRadiusFactor &&
    other.dropFraction == dropFraction &&
    other.bounceCount == bounceCount &&
    other.bounceAmplitudeFactor == bounceAmplitudeFactor &&
    other.offsetDegree == offsetDegree &&
    other.motion == motion;