toValue method

String toValue()

Implementation

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