locale property

Map<String, String> locale

The system locale.

Implementation

Map<String, String> get locale =>
    Map.fromEntries((_properties['Locale']?.asStringArray() ?? []).map((e) {
      final p = e.split('=');
      return MapEntry(p.first, p.last);
    }));