loadTableSchema method Null safety
Implementation
Future<void> loadTableSchema() async {
var tables = await db
.query('sqlite_master', where: 'type = ?', whereArgs: ['table']);
final tableNames = tables.mapKey('name');
for (final table in tableNames) {
final columns = await _getColumnNames(table);
updateTableSchema(table, columns);
}
}