ResponseCallback<T> typedef
Null safety
Callback that defines an expected response as a type
Implementation
typedef ResponseCallback<T> = void Function(T?);
Callback that defines an expected response as a type
typedef ResponseCallback<T> = void Function(T?);