toList method

List toList()

Returns the elements as a standard Dart List.

Implementation

List<dynamic> toList() => [first, second];