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