public native ImmutableList(values as IList<T> = [])
Builds an immutable list by copying the provided read-only list.
values
values = ImmutableList<Int>([10, 20, 30])