dynamic noSuchMethod(Invocation invocation)

Source

noSuchMethod(Invocation invocation) {
  if (invocation.isMethod && invocation.memberName == #call) {
    return _apply(_buildArgs(invocation));
  }
  return super.noSuchMethod(invocation);
}