dart property

List<T> get dart

Creates a List instance that wraps the original KtList. It acts as a view.

Mutations on the returned List are reflected on the original KtList and vice versa.

This method can be used to interop between the dart:collection and the kt.dart world.

Implementation

List<T> get dart => asList();