getNameByIcon method Null safety
- IconData icon
Get name for the given icon data
Implementation
static String? getNameByIcon(IconData icon) => _metadata.entries.firstWhereOrNull((e) => e.value == icon)?.key;
Get name for the given icon data
static String? getNameByIcon(IconData icon) => _metadata.entries.firstWhereOrNull((e) => e.value == icon)?.key;