toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (dataSourceConfigs != null) 'dataSourceConfigs': dataSourceConfigs!,
  if (externalDataSource != null) 'externalDataSource': externalDataSource!,
  if (hintText != null) 'hintText': hintText!,
  if (items != null) 'items': items!,
  if (label != null) 'label': label!,
  if (multiSelectMaxSelectedItems != null)
    'multiSelectMaxSelectedItems': multiSelectMaxSelectedItems!,
  if (multiSelectMinQueryLength != null)
    'multiSelectMinQueryLength': multiSelectMinQueryLength!,
  if (name != null) 'name': name!,
  if (onChangeAction != null) 'onChangeAction': onChangeAction!,
  if (platformDataSource != null) 'platformDataSource': platformDataSource!,
  if (type != null) 'type': type!,
};