ResponseCallback<T> typedef Null safety

ResponseCallback<T> = void Function(T?)

Callback that defines an expected response as a type

Implementation

typedef ResponseCallback<T> = void Function(T?);