onAnyTokenRecivedCallback method

void onAnyTokenRecivedCallback(
  1. Token token
)

Callback function for handling any token received.

Implementation

void onAnyTokenRecivedCallback(Token token) {
  if (widget.onAnyTokenRetrieved != null) {
    widget.onAnyTokenRetrieved!(token);
  }
}