RegisterCallback typedef
RegisterCallback =
void Function(PlayerRegisterResponse? response, Exception? error)
Callback function type for player registration responses.
Defines the signature for a callback function that handles the result of a player registration request.
Arguments:
response: ThePlayerRegisterResponseobject if the registration was successful.error: AnExceptionobject if an error occurred.
Implementation
typedef RegisterCallback = void Function(
PlayerRegisterResponse? response, Exception? error);