Update drift_dev/lib/src/writer/database_writer.dart

Co-authored-by: Simon Binder <oss@simonbinder.eu>
This commit is contained in:
westito 2022-08-08 11:27:03 +02:00 committed by GitHub
parent 26333eafb5
commit 5c05b4e375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class DatabaseWriter {
schemaScope
..write(
'@override\nIterable<TableInfo<Table, dynamic>> get allTables => ')
..write('allSchemaEntities.whereType<<Table, dynamic>>();\n')
..write('allSchemaEntities.whereType<TableInfo<Table, Object?>>();\n')
..write('@override\nList<DatabaseSchemaEntity> get allSchemaEntities ')
..write('=> [');