getNavigationRailLabelType method
Implementation
NavigationRailLabelType? getNavigationRailLabelType(String? value) {
if (value == null || value.isEmpty) {
return null;
}
switch (value) {
case "none":
return NavigationRailLabelType.none;
case "selected":
return NavigationRailLabelType.selected;
case "all":
return NavigationRailLabelType.all;
default:
return null;
}
}