Answer<T> typedef Null safety

Answer<T> = T Function(Invocation invocation)

Returns a value dependent on the details of an invocation.

Implementation

typedef Answer<T> = T Function(Invocation invocation);