changeToSentryMap method

Map<String, String> changeToSentryMap(
  1. Map<String, dynamic> map
)

Implementation

Map<String, String> changeToSentryMap(Map<String, dynamic> map) {
  final sentryMap = <String, String>{};
  map.forEach((key, value) {
    final val = value.toString();
    sentryMap[key] = val.isNotEmpty ? val : 'none';
  });
  return sentryMap;
}