toValue method
Implementation
String toValue() {
switch (this) {
case DeviceFormFactor.phone:
return 'PHONE';
case DeviceFormFactor.tablet:
return 'TABLET';
}
}
String toValue() {
switch (this) {
case DeviceFormFactor.phone:
return 'PHONE';
case DeviceFormFactor.tablet:
return 'TABLET';
}
}