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 (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 (value != null) 'value': value!,
    };