Consumer<T> typedef

Consumer<T> = void Function(T)

Represents an operation that accepts a single argument.

Implementation

typedef Consumer<T> = void Function(T);