toList method

  1. @override
List<T> toList({
  1. bool growable = true,
})
override

Creates a List containing the elements of the ObserverList.

Overrides the default implementation of the Iterable to reduce number of allocations.

Implementation

@override
List<T> toList({bool growable = true}) {
  return _list.toList(growable: growable);
}