toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (enumValues != null) 'enumValues': enumValues!,
      if (greaterThanOperatorName != null)
        'greaterThanOperatorName': greaterThanOperatorName!,
      if (isFacetable != null) 'isFacetable': isFacetable!,
      if (isRepeatable != null) 'isRepeatable': isRepeatable!,
      if (isReturnable != null) 'isReturnable': isReturnable!,
      if (isSortable != null) 'isSortable': isSortable!,
      if (isSuggestable != null) 'isSuggestable': isSuggestable!,
      if (lessThanOperatorName != null)
        'lessThanOperatorName': lessThanOperatorName!,
      if (objectType != null) 'objectType': objectType!,
      if (operatorName != null) 'operatorName': operatorName!,
      if (type != null) 'type': type!,
    };