listener property
listener: (context, preDistinct, curDistinct, value) {}
curDistinct is T
, from distinctBy.
most VM use same Model object in stream, so you can't use M
to get distinct
Implementation
final ValueStreamWidgetListener<M, T> listener;