compareInput property

bool Function(Input a, Input b)? compareInput
final

How to compare input values to avoid recomputing the output value when no inputs changed.

Defaults to comparing with ==.

Implementation

final bool Function(Input a, Input b)? compareInput;