toList method

  1. @useResult
KtList<T> toList()

Converts this pair into a list.

Implementation

@useResult
KtList<T> toList() => KtList.from([first, second]);