getHomeScreenName method
Implementation
@override
String? getHomeScreenName() {
// Find the screen name that maps to the homeMapping ID
if (appModel.homeMapping != null) {
return appModel.screenNameMappings.entries
.where((entry) => entry.value == appModel.homeMapping)
.map((entry) => entry.key)
.firstOrNull;
}
return null;
}