StreamedAction<T> constructor
StreamedAction<T> ({
- @Deprecated('Use subscription on stream instead. And handle changes in listener. Will be removed in next major version') void onChanged(
- T data
- bool acceptUnique = false,
acceptUnique
- data will be accepted only if it's unique
Implementation
StreamedAction({
@Deprecated(
'Use subscription on stream instead. And handle changes in listener. Will be removed in next major version',
)
this.onChanged,
bool acceptUnique = false,
}) : _acceptUnique = acceptUnique;