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;
}