toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (containsLargeData != null) 'containsLargeData': containsLargeData!,
      if (dataType != null) 'dataType': dataType!,
      if (defaultValue != null) 'defaultValue': defaultValue!,
      if (displayName != null) 'displayName': displayName!,
      if (inputOutputType != null) 'inputOutputType': inputOutputType!,
      if (isTransient != null) 'isTransient': isTransient!,
      if (jsonSchema != null) 'jsonSchema': jsonSchema!,
      if (key != null) 'key': key!,
      if (masked != null) 'masked': masked!,
      if (producer != null) 'producer': producer!,
      if (searchable != null) 'searchable': searchable!,
    };