custom static method

Insertable<SettingsRow> custom({
  1. Expression<String>? userId,
  2. Expression<bool>? enablePopups,
  3. Expression<String>? locale,
  4. Expression<bool>? showIntroduction,
  5. Expression<double>? sideBarWidth,
  6. Expression<String>? callButtons,
  7. Expression<String>? pinnedActions,
  8. Expression<String>? callButtonsPosition,
  9. Expression<bool>? workWithUsTabEnabled,
  10. Expression<String>? videoDevice,
  11. Expression<String>? audioDevice,
  12. Expression<String>? outputDevice,
  13. Expression<String>? screenDevice,
  14. Expression<String>? muteKeys,
  15. Expression<int>? rowid,
})

Implementation

static Insertable<SettingsRow> custom({
  Expression<String>? userId,
  Expression<bool>? enablePopups,
  Expression<String>? locale,
  Expression<bool>? showIntroduction,
  Expression<double>? sideBarWidth,
  Expression<String>? callButtons,
  Expression<String>? pinnedActions,
  Expression<String>? callButtonsPosition,
  Expression<bool>? workWithUsTabEnabled,
  Expression<String>? videoDevice,
  Expression<String>? audioDevice,
  Expression<String>? outputDevice,
  Expression<String>? screenDevice,
  Expression<String>? muteKeys,
  Expression<int>? rowid,
}) {
  return RawValuesInsertable({
    if (userId != null) 'user_id': userId,
    if (enablePopups != null) 'enable_popups': enablePopups,
    if (locale != null) 'locale': locale,
    if (showIntroduction != null) 'show_introduction': showIntroduction,
    if (sideBarWidth != null) 'side_bar_width': sideBarWidth,
    if (callButtons != null) 'call_buttons': callButtons,
    if (pinnedActions != null) 'pinned_actions': pinnedActions,
    if (callButtonsPosition != null)
      'call_buttons_position': callButtonsPosition,
    if (workWithUsTabEnabled != null)
      'work_with_us_tab_enabled': workWithUsTabEnabled,
    if (videoDevice != null) 'video_device': videoDevice,
    if (audioDevice != null) 'audio_device': audioDevice,
    if (outputDevice != null) 'output_device': outputDevice,
    if (screenDevice != null) 'screen_device': screenDevice,
    if (muteKeys != null) 'mute_keys': muteKeys,
    if (rowid != null) 'rowid': rowid,
  });
}