toIndexInfo method

IndexInfo toIndexInfo()

Converts the index snapshot to the IndexInfo the DDL generators consume.

Implementation

IndexInfo toIndexInfo() {
  return IndexInfo(
    name: name,
    tableName: tableName,
    columns: columns,
    isUnique: isUnique,
    where: where,
  );
}