insertVisitorData method

Future<void> insertVisitorData(
  1. Map<String, Object> visitoMap
)

/////////////// / Visitor //// ///////////////

Implementation

// Insert visitor Map data Visitor
  Future<void> insertVisitorData(Map<String, Object> visitoMap) async {
    try {
      await _visitorDatabase?.insert(
        'table_visitors',
        visitoMap,
        conflictAlgorithm: ConflictAlgorithm.replace,
      );
    } on Exception catch (e) {
      Flagship.logger(Level.EXCEPTIONS, e.toString());
    }
  }