toJson method

Map<String, dynamic> toJson()

Converts this TetherColumnInfo instance to a JSON map for serialization.

Implementation

Map<String, dynamic> toJson() => {
  'name': name,
  'originalName': originalName,
  'localName': localName,
  'type': type,
  'isNullable': isNullable,
  'isPrimaryKey': isPrimaryKey,
  'isUnique': isUnique,
  'defaultValue': defaultValue,
  'comment': comment,
  'isIdentity': isIdentity, // <<< ADDED TO toJson
};