toJson method

Map<String, dynamic> toJson()

Implementation

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