cacheVisitor method

  1. @override
void cacheVisitor(
  1. String visitorId,
  2. String jsonString
)
override

Implementation

@override
void cacheVisitor(String visitorId, String jsonString) async {
  Flagship.logger(
      Level.DEBUG, "cacheVisitor from default cache Implementation");
  await _checkDatabase();
  dbMgt.insertVisitorData({"id": visitorId, "visitor": jsonString});
}