activateModification method

Future<void> activateModification(
  1. String key
)

Activate modification

Implementation

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

      if (modification != null) {
        await _sendActivate(modification);
      }
    } catch (exp) {
      print("an exception raised  $exp , failed to activate ");
    }
  }
}