toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (etag != null) 'etag': etag!,
      if (fieldId != null) 'fieldId': fieldId!,
      if (fieldName != null) 'fieldName': fieldName!,
      if (fieldType != null) 'fieldType': fieldType!,
      if (indexed != null) 'indexed': indexed!,
      if (kind != null) 'kind': kind!,
      if (multiValued != null) 'multiValued': multiValued!,
      if (numericIndexingSpec != null)
        'numericIndexingSpec': numericIndexingSpec!,
      if (readAccessType != null) 'readAccessType': readAccessType!,
    };