operator == method

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

按按钮字段比较。

Implementation

@override
bool operator ==(Object other) =>
    other is WheelButton &&
    other.radius == radius &&
    other.pointer == pointer &&
    other.background == background &&
    listEquals(other.texts, texts) &&
    listEquals(other.images, images);