activateModification method

  1. @override
Future<void> activateModification(
  1. String key
)
override

Implementation

@override
Future<void> activateModification(String key) async {
  if (visitor.modifications.containsKey(key)) {
    try {
      var modification = visitor.modifications[key];

      if (modification != null) {
        await _sendActivate(modification);
      }
    } catch (exp) {
      Flagship.logger(Level.EXCEPTIONS, EXCEPTION.replaceFirst("%s", "$exp"));
    }
  }
}