entries property

List<T> get entries

The entries of this set. The list is kept by reference, so the caller can keep changing it; it must be growable for addEntry and friends to work. Assigning recomputes the cached ranges; after changing the list in place call notifyDataSetChanged yourself.

Kotlin keeps an ArrayList by reference and copies any other list; Dart lists cannot be told apart that way, so every list is kept.

Implementation

List<T> get entries => _entries;
set entries (List<T> value)

Implementation

set entries(List<T> value) {
  _entries = value;
  notifyDataSetChanged();
}