toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (collation != null) 'collation': collation!,
      if (column != null) 'column': column!,
      if (dataType != null) 'dataType': dataType!,
      if (length != null) 'length': length!,
      if (nullable != null) 'nullable': nullable!,
      if (ordinalPosition != null) 'ordinalPosition': ordinalPosition!,
      if (precision != null) 'precision': precision!,
      if (primaryKey != null) 'primaryKey': primaryKey!,
      if (scale != null) 'scale': scale!,
    };