The properties used for equality comparison.
Returns a list containing the key and variant.
key
@override List<Object?> get props => [variant];