getAttributes method
Implementation
@override
Future<Map<String, String>> getAttributes() async {
if (!kCanTrace) {
logger?.debug(this, 'Sentry Trace is not allowed to trace');
return {};
}
if (kInstance == null) {
logger?.error(this, 'Sentry Trace is not initialized');
return {};
}
logger?.debug(this, 'Getting attributes from Sentry Trace');
return Map.from(_attributes);
}