toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dataType != null) 'dataType': dataType!,
      if (dateDetails != null) 'dateDetails': dateDetails!,
      if (id != null) 'id': id!,
      if (labels != null) 'labels': labels!,
      if (lookupDetails != null) 'lookupDetails': lookupDetails!,
      if (multipleValuesDisallowed != null)
        'multipleValuesDisallowed': multipleValuesDisallowed!,
      if (name != null) 'name': name!,
      if (readonly != null) 'readonly': readonly!,
      if (relationshipDetails != null)
        'relationshipDetails': relationshipDetails!,
    };