hashCode property

  1. @override
int get hashCode
override

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

Implementation

@override
int get hashCode => Object.hash(
      width,
      widthTolerance,
      growAndShrink,
      growthRate,
      growthRateTolerance,
      blurLevel,
      numBlobs,
      backgroundColor,
      const DeepCollectionEquality().hash(_colors),
      allSameColor,
      fadeBetweenColors,
      changeColorsTogether,
      const DeepCollectionEquality().hash(_blobs),
      speed,
      speedTolerance,
    );