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