upsertBulk method

Future<void> upsertBulk(
  1. List<Session> sessions
)

Inserts the provided sessions to the database.

Implementation

Future<void> upsertBulk(List<Session> sessions) async {
  for (var session in sessions) {
    await upsert(session);
  }
}