syncChips method
Future<ListDiffs<T> >
syncChips(
- Iterable<
T> newChips, { - bool notify = true,
- bool? resetQuery,
- required ChipChangeOperation source,
Implementation
Future<ListDiffs<T>> syncChips(Iterable<T> newChips,
{bool notify = true,
bool? resetQuery,
required ChipChangeOperation source}) async {
final changed = await _applyDiff((_chips) {
_chips.clear();
_chips.addAll(newChips);
}, resetQuery: resetQuery, source: source, notify: notify);
return changed;
}