toUniqueList method
Creates a UniqueList containing the elements of this list.
Implementation
UniqueList<E> toUniqueList({
bool growable = true,
bool strict = true,
bool nullable = true,
}) =>
UniqueList<E>.of(
elements,
growable: growable,
strict: strict,
nullable: nullable,
);