dart property

Set<T> dart

Creates a Set instance that wraps the original KtSet. It acts as a view.

Mutations on the returned Set are reflected on the original KtSet and vice versa.

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

Implementation

Set<T> get dart => asSet();