toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (array != null) 'array': array!,
  if (arrayLength != null) 'arrayLength': arrayLength!,
  if (autoGenerated != null) 'autoGenerated': autoGenerated!,
  if (charset != null) 'charset': charset!,
  if (collation != null) 'collation': collation!,
  if (comment != null) 'comment': comment!,
  if (computed != null) 'computed': computed!,
  if (customFeatures != null) 'customFeatures': customFeatures!,
  if (dataType != null) 'dataType': dataType!,
  if (defaultValue != null) 'defaultValue': defaultValue!,
  if (fractionalSecondsPrecision != null)
    'fractionalSecondsPrecision': fractionalSecondsPrecision!,
  if (length != null) 'length': length!,
  if (name != null) 'name': name!,
  if (nullable != null) 'nullable': nullable!,
  if (ordinalPosition != null) 'ordinalPosition': ordinalPosition!,
  if (precision != null) 'precision': precision!,
  if (scale != null) 'scale': scale!,
  if (setValues != null) 'setValues': setValues!,
  if (udt != null) 'udt': udt!,
};