operator == method
按字段值比较配置,列表按内容比较。
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;