hashCode property

  1. @override
int get hashCode
override

Returns a hash code based on the key.

This ensures that DropDownModel objects can be used effectively in collections such as sets or maps.

Implementation

@override
int get hashCode => Object.hash(key, key);