argumentsOfInterestFor method

Map argumentsOfInterestFor(
  1. MethodInvocation node
)

Return the arguments that affect this SubMessage as a map of argument names and values.

Implementation

Map argumentsOfInterestFor(MethodInvocation node) {
  var basicArguments = node.argumentList.arguments;
  var others = basicArguments.whereType<NamedExpression>();
  return {for (var node in others) node.name.label.name: node.expression};
}