deleteChip method

Future<ListDiffs<T>> deleteChip(
  1. T data, {
  2. required bool resetQuery,
})

Implementation

Future<ListDiffs<T>> deleteChip(T data, {required bool resetQuery}) async {
  return await _applyDiff((_chips) {
    _chips.remove(data);
  }, resetQuery: resetQuery, source: ChipChangeOperation.deleteChip);
}