operator == method

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

按字段值比较配置,列表按内容比较。

Implementation

@override
bool operator ==(Object other) =>
    other is SlotConfig &&
    listEquals(blocks, other.blocks) &&
    listEquals(prizes, other.prizes) &&
    listEquals(reels, other.reels) &&
    options == other.options &&
    style == other.style &&
    winPredicate == other.winPredicate &&
    listEquals(paylines, other.paylines) &&
    paylinePredicate == other.paylinePredicate;