[LLC, Persistence] Add doc comments

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-01-28 19:48:54 +05:30
parent 6e5894eebe
commit 86a122aa23
30 changed files with 154 additions and 68 deletions
@@ -6,13 +6,13 @@ import '../mapper/user_mapper.dart';
part 'user_dao.g.dart';
///
/// The Data Access Object for operations in [Users] table.
@UseDao(tables: [Users])
class UserDao extends DatabaseAccessor<MoorChatDatabase> with _$UserDaoMixin {
///
/// Creates a new user dao instance
UserDao(MoorChatDatabase db) : super(db);
///
/// Updates the users data with the new [userList] data
Future<void> updateUsers(List<User> userList) {
return batch(
(it) => it.insertAll(