operator == method

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

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

Implementation

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