updateContext<T> method

  1. @override
void updateContext<T>(
  1. String key,
  2. T value
)
override

Implementation

@override
void updateContext<T>(String key, T value) {
  switch (value.runtimeType) {
    case int:
    case double:
    case String:
    case bool:
      visitor.getContext().addAll({key: value as Object});
      break;
    default:
      Flagship.logger(Level.WARNING, CONTEXT_PARAM_ERROR);
  }
}