toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (categories != null) 'categories': categories!,
  if (collation != null) 'collation': collation!,
  if (dataPolicies != null) 'dataPolicies': dataPolicies!,
  if (defaultValueExpression != null)
    'defaultValueExpression': defaultValueExpression!,
  if (description != null) 'description': description!,
  if (fields != null) 'fields': fields!,
  if (foreignTypeDefinition != null)
    'foreignTypeDefinition': foreignTypeDefinition!,
  if (maxLength != null) 'maxLength': maxLength!,
  if (mode != null) 'mode': mode!,
  if (name != null) 'name': name!,
  if (policyTags != null) 'policyTags': policyTags!,
  if (precision != null) 'precision': precision!,
  if (rangeElementType != null) 'rangeElementType': rangeElementType!,
  if (roundingMode != null) 'roundingMode': roundingMode!,
  if (scale != null) 'scale': scale!,
  if (timestampPrecision != null) 'timestampPrecision': timestampPrecision!,
  if (type != null) 'type': type!,
};