Selection<T> constructor

const Selection<T>({
  1. bool selected = false,
  2. bool loading = false,
  3. required String id,
  4. required T data,
})

Implementation

const Selection({
  this.selected = false,
  this.loading = false,
  required this.id,
  required this.data,
});