toList method

List<T> toList()

Converts this pair into a list.

Implementation

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