setTicketAttribute static method
setTicketAttribute
Set a ticket attribute
Available Platforms
Web, Android, iOS
Implementation
static Future<void> setTicketAttribute({
required String key,
required dynamic value,
}) async {
if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
debugPrint(
'setTicketAttribute is not available for current operating system',
);
return;
}
await _channel.invokeMethod('setTicketAttribute', {
'key': key,
'value': value,
});
}