OnReceive typedef
OnReceive =
void Function(Response)
This function definition is used to store a procedure that will listen to every API response
Implementation
typedef OnReceive = void Function(Response);
This function definition is used to store a procedure that will listen to every API response
typedef OnReceive = void Function(Response);