assign method

void assign(
  1. E item
)

Implementation

void assign(E item) {
  _value
    ..clear()
    ..add(item);
  refresh();
}