Override hashcode.
@override int get hashCode => Object.hashAll(<Object?>[ primary, secondary, tertiary, neutral, neutralVariant, error, ]);