putAll method

Future<int> putAll(
  1. String work,
  2. Iterable<String> barcodes
)

Returns the number of inserted rows.

Implementation

Future<int> putAll(
  String work,
  Iterable<String> barcodes,
) async => localDatabase.database.transaction(
  (Transaction transaction) async => _bulkInsert(transaction, work, barcodes),
);