DART Set.Generate

Set.from(List.generate(len, (i) => i*2));
just-saved-you-a-stackoverflow-visit