nest method
Scoped increase of the indent level.
For the execution of func
the indentation will be incremented by the given amount.
Implementation
void nest(int count, Function func) {
inc(count);
func(); // ignore: avoid_dynamic_calls
dec(count);
}