toList method

List<T> toList()

Returns a list of T elements contained in the Stack

Implementation

List<T> toList() => _list.toList();