getModification<T> method

  1. @Deprecated('Use value() in Flag class instead')
T getModification<T>(
  1. String key,
  2. T defaultValue, {
  3. bool activate = false,
})

Get Modification

key : the name of the key relative to modification defaultValue: the returned value if the key is not found

Implementation

@Deprecated('Use value() in Flag class instead')
T getModification<T>(String key, T defaultValue, {bool activate = false}) {
  // Delegate the action to strategy
  return _visitorDelegate.getModification(key, defaultValue,
      activate: activate);
}