callLocale method

  1. @override
Node? callLocale(
  1. Node? target,
  2. List<String> parameters,
  3. DOMContext? context
)
override

Implementation

@override
Node? callLocale(Node? target, List<String> parameters, DOMContext? context) {
  var variables = context?.variables ?? {};
  var event = variables['event'] ?? {};
  var locale = event['value'] ?? '';

  print(
      '>>>>>>>>>>>>>>>>>> LOCALE: $locale >> $parameters > $context > vars: $variables');

  return target;
}