toValue method
Implementation
String toValue() {
switch (this) {
case DeviceSettingsSyncState.synced:
return 'SYNCED';
case DeviceSettingsSyncState.syncing:
return 'SYNCING';
}
}
String toValue() {
switch (this) {
case DeviceSettingsSyncState.synced:
return 'SYNCED';
case DeviceSettingsSyncState.syncing:
return 'SYNCING';
}
}