setLocal abstract method

void setLocal(
  1. String name,
  2. Object? value
)

Sets the value of local variable called name in this view.

This local variable will be assignable by name to a template input variable created with the let keyword.

Implementation

void setLocal(String name, Object? value);