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