toList method

List toList()

Returns the elements as a standard Dart List.

Implementation

List<dynamic> toList() => [item1, item2, item3];