operator == method
按字段值比较,列表按内容比较。
Implementation
@override
bool operator ==(Object other) =>
other is CapsuleStyle &&
other.globeFill == globeFill &&
other.bodyFill == bodyFill &&
other.knobFill == knobFill &&
other.seamColor == seamColor &&
other.card == card &&
other.text == text;