TransferObject constructor

TransferObject({
  1. ObjectRef? object,
  2. String? recipient,
  3. ObjectRef? gas,
})

Implementation

factory TransferObject({
  ObjectRef? object,
  $core.String? recipient,
  ObjectRef? gas,
}) {
  final result = create();
  if (object != null) result.object = object;
  if (recipient != null) result.recipient = recipient;
  if (gas != null) result.gas = gas;
  return result;
}