MultipleItemsBloc<T> constructor

MultipleItemsBloc<T>(
  1. List<T>? initialSelectedItems,
  2. void onMultipleItemsChange(
    1. List<T>
    )?
)

Implementation

MultipleItemsBloc(
  List<T>? initialSelectedItems,
  this.onMultipleItemsChange,
) {
  selectedItems = initialSelectedItems ?? <T>[];
}