setTokens method
ℹ️ configure available tokens on your POS app
Implementation
@override
void setTokens({required List<PosToken> tokens}) {
if (tokens.isEmpty) {
throw Errors.getSdkError(
Errors.MISSING_OR_INVALID,
context: 'No tokens provided',
).toSignError();
}
_reOwnCore!.logger.d('[$runtimeType] setTokens: $tokens');
_configuredTokens
..clear()
..addAll(tokens);
_configurePosNamespaces();
}