bulkCreate method
Implementation
@override
FutureOr<void> bulkCreate(
List<SideEffectModel> entities,
) async {
return retryLocalCallOperation(() async {
final sideEffectCompanions = entities.map((e) => e.companion).toList();
await sql.batch((batch) async {
batch.insertAll(
sql.sideEffect,
sideEffectCompanions,
mode: InsertMode.insertOrReplace,
);
});
});
}