toDebugMap method
Debug map
Implementation
Map<String, Object?> toDebugMap({bool noName = false}) {
final map = <String, Object?>{
if (!noName) 'name': name,
if (autoIncrement) 'autoIncrement': autoIncrement,
if (indexes.isNotEmpty)
'indexes': {
for (var index in indexes) index.name: index.toDebugMap(noName: true),
},
};
_debugMapAddKeyPath(map, keyPath);
return map;
}