WidgetDistinctByX extension

on

Methods

distinctBy<T>(Object key(T)) bool Function(T, T)

Available on Widget, provided by the WidgetDistinctByX extension

buildWhen: (p, c) => p.userId != p.userId && p.name != c.name, buildWhen: (p, c) => (p.userId, p.name) != (p.name, c.name), buildWhen: distinctBy((e) => (e.userId, e.name)),