mirror of https://github.com/AMT-Cheif/drift.git
Fix lint warnings when strict type check enabled
This commit is contained in:
parent
b2cb0f6000
commit
26333eafb5
|
@ -117,8 +117,9 @@ class DatabaseWriter {
|
|||
// Write List of tables
|
||||
final schemaScope = dbScope.leaf();
|
||||
schemaScope
|
||||
..write('@override\nIterable<TableInfo> get allTables => ')
|
||||
..write('allSchemaEntities.whereType<TableInfo>();\n')
|
||||
..write(
|
||||
'@override\nIterable<TableInfo<Table, dynamic>> get allTables => ')
|
||||
..write('allSchemaEntities.whereType<<Table, dynamic>>();\n')
|
||||
..write('@override\nList<DatabaseSchemaEntity> get allSchemaEntities ')
|
||||
..write('=> [');
|
||||
|
||||
|
|
Loading…
Reference in New Issue