getLocal method

  1. @override
Expression? getLocal(
  1. String name
)
override

Returns a variable that references the name local.

Implementation

@override
o.Expression? getLocal(String name) {
  if (name == EventHandlerVars.event.name) {
    return EventHandlerVars.event;
  }
  return null;
}