saveModels method
Implementation
Future<void> saveModels(List<T> models) async {
List<T> tmp = [];
tmp.addAll(models);
for (T model in tmp) {
await model.loadRelations();
await _save(model);
}
await change(CollectionChangeType.createOrUpdateMultiple, null);
}