operator == method

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

按全部字段比较值。

Implementation

@override
bool operator ==(Object other) =>
    other is LotsStyle &&
    other.background == background &&
    other.cylinderFill == cylinderFill &&
    other.backFill == backFill &&
    other.stickFill == stickFill &&
    other.cardFill == cardFill &&
    other.textColor == textColor &&
    other.fontSize == fontSize &&
    other.fontFamily == fontFamily &&
    other.backgroundPainter == backgroundPainter &&
    other.cylinderBackPainter == cylinderBackPainter &&
    other.cylinderFrontPainter == cylinderFrontPainter &&
    other.stickPainter == stickPainter;