props property

  1. @override
List<int> get props

The list of properties that will be used to determine whether two instances are equal.

Implementation

@override
List<int> get props => [
      r,
      g,
      b,
      a,
    ];