toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (dateTimeTypeOptions != null)
'dateTimeTypeOptions': dateTimeTypeOptions!,
if (displayName != null) 'displayName': displayName!,
if (enumTypeOptions != null) 'enumTypeOptions': enumTypeOptions!,
if (floatTypeOptions != null) 'floatTypeOptions': floatTypeOptions!,
if (integerTypeOptions != null)
'integerTypeOptions': integerTypeOptions!,
if (isFilterable != null) 'isFilterable': isFilterable!,
if (isMetadata != null) 'isMetadata': isMetadata!,
if (isRepeatable != null) 'isRepeatable': isRepeatable!,
if (isRequired != null) 'isRequired': isRequired!,
if (isSearchable != null) 'isSearchable': isSearchable!,
if (mapTypeOptions != null) 'mapTypeOptions': mapTypeOptions!,
if (name != null) 'name': name!,
if (propertyTypeOptions != null)
'propertyTypeOptions': propertyTypeOptions!,
if (retrievalImportance != null)
'retrievalImportance': retrievalImportance!,
if (schemaSources != null) 'schemaSources': schemaSources!,
if (textTypeOptions != null) 'textTypeOptions': textTypeOptions!,
if (timestampTypeOptions != null)
'timestampTypeOptions': timestampTypeOptions!,
};