onUserVariableChange property

void Function(String name, String value)? onUserVariableChange
getter/setter pair

Called when the application reports an iTerm2 user variable.

Implementation

void Function(String name, String value)? onUserVariableChange;