operator == method

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

按奖品字段比较。

Implementation

@override
bool operator ==(Object other) =>
    other is WheelPrize &&
    other.background == background &&
    listEquals(other.texts, texts) &&
    listEquals(other.images, images) &&
    other.weight == weight &&
    other.sectorWeight == sectorWeight &&
    other.disabled == disabled &&
    other.painter == painter &&
    other.semanticsLabel == semanticsLabel;