setTags static method

Future<void> setTags({
  1. required List<String> tags,
})

setTags

Sets tags which will be passed with the Gleap tickets

Available Platforms

Web, Android, iOS

Implementation

static Future<void> setTags({required List<String> tags}) async {
  if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
    debugPrint(
      'setTags is not available for current operating system',
    );
    return;
  }

  await _channel.invokeMethod('setTags', {'tags': tags});
}