ItemRef constructor

ItemRef({
  1. String? cookbookId,
  2. String? itemId,
})

Implementation

factory ItemRef({
  $core.String? cookbookId,
  $core.String? itemId,
}) {
  final _result = create();
  if (cookbookId != null) {
    _result.cookbookId = cookbookId;
  }
  if (itemId != null) {
    _result.itemId = itemId;
  }
  return _result;
}