toValue method
Implementation
String toValue() {
switch (this) {
case KeyState.enabled:
return 'Enabled';
case KeyState.disabled:
return 'Disabled';
case KeyState.pendingDeletion:
return 'PendingDeletion';
case KeyState.pendingImport:
return 'PendingImport';
case KeyState.unavailable:
return 'Unavailable';
}
}