insertEvent method

Future<void> insertEvent(
  1. EventModel event
)

Implementation

Future<void> insertEvent(EventModel event) async {
  Database db = await this.database;

  var result = await db.insert(eventTable, event.toMap());
}