setCustomKey method

  1. @override
Future<void> setCustomKey(
  1. String key,
  2. Object value
)
override

Sets a custom key-value pair.

Implementation

@override
Future<void> setCustomKey(String key, Object value) async {
  await Sentry.configureScope((scope) {
    scope.setTag(key, value.toString());
  });
}