bind method

BoundStateReference bind(
  1. int depth
)

Binds the state reference to a specific widget (identified by depth).

Returns a BoundStateReference with the same parts and whose BoundLoopReference.depth is given by depth.

Implementation

BoundStateReference bind(int depth) {
  return BoundStateReference(depth, parts);
}