setCustomKey method
Implementation
@override
Future<void> setCustomKey(String key, Object value) async {
if (isReady) {
try {
await Sentry.configureScope((scope) {
scope.setContexts(key, value);
});
} catch (e) {
_printDebug(
'$providerName: Failed to set custom key: $e, trace: ${StackTrace.current}',
);
}
}
}