operator == method

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

按全部字段比较值。

Implementation

@override
bool operator ==(Object other) =>
    other is NumberWheelStyle &&
    other.background == background &&
    other.trackFill == trackFill &&
    other.hubFill == hubFill &&
    other.ballFill == ballFill &&
    other.textColor == textColor &&
    other.fontSize == fontSize &&
    other.fontFamily == fontFamily;