toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dataType != null) 'dataType': dataType!,
      if (defaultValue != null) 'defaultValue': defaultValue!,
      if (isRequired != null) 'isRequired': isRequired!,
      if (isSearchable != null) 'isSearchable': isSearchable!,
      if (logSettings != null) 'logSettings': logSettings!,
      if (masked != null) 'masked': masked!,
      if (readOnly != null) 'readOnly': readOnly!,
      if (searchable != null) 'searchable': searchable!,
      if (taskVisibility != null) 'taskVisibility': taskVisibility!,
    };