operator == method
按全部字段比较值。
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;