Callback<T> typedef

Callback<T> = void Function(T args)

Generic type for callbacks

Implementation

typedef Callback<T> = void Function(T args);