hashCode property

  1. @override
int get hashCode
override

Note: The order of the elements in the waves list is important—if the two objects have the same waves but in a different order, they will not have the same hash code.

Implementation

@override
int get hashCode => Object.hash(
      backgroundColor,
      const DeepCollectionEquality().hash(_waves),
    );