insertAll method
Implementation
Future insertAll(List<Map<String, dynamic>> records) async {
if (records.any((e) => e.containsKey(ID_KEY) && e[ID_KEY] != null)) throw Exception("'entityId' must be 'null' to insert the record in collection");
for (var element in records) {
await insert(element);
}
}