operator == method

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

按全部字段比较值。

Implementation

@override
bool operator ==(Object other) =>
    other is LotsStick &&
    other.label == label &&
    listEquals(other.texts, texts) &&
    listEquals(other.images, images) &&
    other.fill == fill &&
    other.weight == weight &&
    other.disabled == disabled &&
    other.painter == painter;