createAllTables method Null safety

  1. @Deprecated('Use createAll() instead')
Future<void> createAllTables()
@Deprecated('Use createAll() instead')

Creates all tables specified for the database, if they don't exist

Implementation

@Deprecated('Use createAll() instead')
Future<void> createAllTables() async {
  for (final table in _db.allTables) {
    await createTable(table);
  }
}