toSet method

Future<Set<E>> toSet()

Refer to Iterable.toSet;

Implementation

Future<Set<E>> toSet() async => Set<E>.from((await this));