MoveContainerOperation constructor

MoveContainerOperation({
  1. ContainerId? containerId,
  2. ContainerId? newParentContainer,
  3. MoveContainerOperation_MoveType? type,
})

Implementation

factory MoveContainerOperation({
  $1.ContainerId? containerId,
  $1.ContainerId? newParentContainer,
  MoveContainerOperation_MoveType? type,
}) {
  final result = create();
  if (containerId != null) result.containerId = containerId;
  if (newParentContainer != null)
    result.newParentContainer = newParentContainer;
  if (type != null) result.type = type;
  return result;
}