MsgSendItems constructor

MsgSendItems({
  1. String? creator,
  2. String? receiver,
  3. Iterable<ItemRef>? items,
})

Implementation

factory MsgSendItems({
  $core.String? creator,
  $core.String? receiver,
  $core.Iterable<$8.ItemRef>? items,
}) {
  final _result = create();
  if (creator != null) {
    _result.creator = creator;
  }
  if (receiver != null) {
    _result.receiver = receiver;
  }
  if (items != null) {
    _result.items.addAll(items);
  }
  return _result;
}