operator == method
全部字段按值比较。
Implementation
@override
bool operator ==(Object other) =>
other is LeverOptions &&
side == other.side &&
widthFactor == other.widthFactor &&
pullThreshold == other.pullThreshold &&
springBack == other.springBack &&
autoPlay == other.autoPlay &&
staggerStop == other.staggerStop &&
knobColor == other.knobColor &&
shaftColor == other.shaftColor;