props property

  1. @override
List<Object?> get props
override

The properties used for equality comparison.

Returns a list containing the key and variant.

Implementation

@override
List<Object?> get props => [variant];