call method

App call([
  1. Object? x1,
  2. Object? x2,
  3. Object? x3,
  4. Object? x4,
  5. Object? x5,
  6. Object? x6,
  7. Object? x7,
  8. Object? x8,
  9. Object? x9,
])

Call this function with the given arguments.

Implementation

App call([
  Object? x1,
  Object? x2,
  Object? x3,
  Object? x4,
  Object? x5,
  Object? x6,
  Object? x7,
  Object? x8,
  Object? x9,
]) {
  if (x1 is Iterable<Object> && x2 == null) {
    return appN(this, x1.map($));
  }
  final args = <Expr>[
    if (x1 != null) $(x1),
    if (x2 != null) $(x2),
    if (x3 != null) $(x3),
    if (x4 != null) $(x4),
    if (x5 != null) $(x5),
    if (x6 != null) $(x6),
    if (x7 != null) $(x7),
    if (x8 != null) $(x8),
    if (x9 != null) $(x9),
  ];
  return appN(this, args);
}