Block<T> typedef

Block<T> = T Function()

A function that runs a block of code, with a return value of type T.

Implementation

typedef Block<T> = T Function();