props property

  1. @override
List<Object?> get props

The list of properties that constitute the state of this ImageTestSpec.

This property is used by the == operator and the hashCode getter to compare two ImageTestSpec instances for equality.

Implementation

@override
List<Object?> get props {
  return [
    alignment,
    animated,
    centerSlice,
    color,
    colorBlendMode,
    filterQuality,
    fit,
    height,
    repeat,
    width,
  ];
}