toMap method
Converts this index info to a map representation.
Implementation
Map<String, dynamic> toMap() {
return {
'name': name,
'tableName': tableName,
'columns': columns,
'isUnique': isUnique,
if (where != null) 'where': where,
};
}