MoveCall constructor

MoveCall({
  1. String? package,
  2. String? module,
  3. String? function,
  4. Iterable<String>? typeArguments,
  5. Iterable<Argument>? arguments,
})

Implementation

factory MoveCall({
  $core.String? package,
  $core.String? module,
  $core.String? function,
  $core.Iterable<$core.String>? typeArguments,
  $core.Iterable<$4.Argument>? arguments,
}) {
  final result = create();
  if (package != null) result.package = package;
  if (module != null) result.module = module;
  if (function != null) result.function = function;
  if (typeArguments != null) result.typeArguments.addAll(typeArguments);
  if (arguments != null) result.arguments.addAll(arguments);
  return result;
}