FunctionCall constructor

FunctionCall({
  1. String? methodName,
  2. List<int>? args,
  3. Int64? gas,
  4. List<int>? deposit,
})

Implementation

factory FunctionCall({
  $core.String? methodName,
  $core.List<$core.int>? args,
  $fixnum.Int64? gas,
  $core.List<$core.int>? deposit,
}) {
  final result = create();
  if (methodName != null) result.methodName = methodName;
  if (args != null) result.args = args;
  if (gas != null) result.gas = gas;
  if (deposit != null) result.deposit = deposit;
  return result;
}