toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (column != null) 'column': column!,
      if (dataType != null) 'dataType': dataType!,
      if (encoding != null) 'encoding': encoding!,
      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!,
    };