Local constructor

Local()

Declares a new local variable.

final foo = Local();

Like var, each local is a distinct symbolic reference; unlike var, the value of each local is also scoped by the DOM.

Implementation

Local() : _ = "@${(++_nextId).toRadixString(36)}";