insertEvent method
Implementation
Future<void> insertEvent(EventModel event) async {
Database db = await this.database;
var result = await db.insert(eventTable, event.toMap());
}
Future<void> insertEvent(EventModel event) async {
Database db = await this.database;
var result = await db.insert(eventTable, event.toMap());
}