insertObjects<T extends ManagedObject> method

Future<List<T>> insertObjects <T extends ManagedObject>(ManagedContext context, List<T> objects)

Inserts each object in objects into the database managed by context in a single transaction.

This currently has no Query instance equivalent

Implementation

static Future<List<T>> insertObjects<T extends ManagedObject>(
    ManagedContext context, List<T> objects) async {
  return context.insertObjects(objects);
}