take method
Box
take(
- Box box
Take another box then return the old box.
Implementation
Box take(Box box) {
Box oldBox = _box;
_box = box;
for (var callRequest in _requests) {
callRequest(oldBox, box);
}
return oldBox;
}