toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (autoCompleteAction != null) 'autoCompleteAction': autoCompleteAction!,
  if (hintText != null) 'hintText': hintText!,
  if (hostAppDataSource != null) 'hostAppDataSource': hostAppDataSource!,
  if (initialSuggestions != null) 'initialSuggestions': initialSuggestions!,
  if (label != null) 'label': label!,
  if (name != null) 'name': name!,
  if (onChangeAction != null) 'onChangeAction': onChangeAction!,
  if (placeholderText != null) 'placeholderText': placeholderText!,
  if (type != null) 'type': type!,
  if (validation != null) 'validation': validation!,
  if (value != null) 'value': value!,
};