toValue method
Implementation
String toValue() {
switch (this) {
case InputState.creating:
return 'CREATING';
case InputState.detached:
return 'DETACHED';
case InputState.attached:
return 'ATTACHED';
case InputState.deleting:
return 'DELETING';
case InputState.deleted:
return 'DELETED';
}
}