toList method

List toList()

Returns the elements as a standard Dart List.

Implementation

List<dynamic> toList() =>
    [item1, item2, item3, item4, item5, item6, item7];