IntCollection typedef

IntCollection = List<Int>

A list of integers using the Int alias.

{@tool snippet}

IntCollection numbers = [1, 2, 3, 4];
print(numbers.reduce((a, b) => a + b)); // 10

{@end-tool}

Implementation

typedef IntCollection = List<Int>;