insertHitMap method

Future<void> insertHitMap(
  1. Map<String, Object> hitMap
)

Implementation

Future<void> insertHitMap(Map<String, Object> hitMap) async {
  try {
    await _hitDatabase?.insert(
      'table_hits',
      hitMap,
      conflictAlgorithm: ConflictAlgorithm.replace,
    );
  } on Exception catch (e) {
    Flagship.logger(Level.EXCEPTIONS, e.toString());
  }
}