toSet method

  1. @override
Set<E> toSet()
override

Creates a Set with the same elements as this TableSet.

The returned Set will not modify the Database.

Implementation

@override
Set<E> toSet() => database.select('SELECT * FROM $tableName').map(deserialize).toSet();