value property
int
value
Implementation
int get value {
switch (this) {
case BacklightMode.off:
return 0;
case BacklightMode.manual:
return 1;
case BacklightMode.keyAndMessages:
return 2;
case BacklightMode.autoBrightness:
return 3;
case BacklightMode.smartNotifications:
return 4;
case BacklightMode.keyAndMessagesNight:
return 5;
case BacklightMode.keyAndMessagesAndSmartNotifications:
return 6;
}
}