fireValueChange
void
fireValueChange(
Fire onValueChange handler with value
Implementation
void fireValueChange(bool value) {
final onValueChange = props['onValueChange'];
switch (onValueChange) {
case final void Function(bool) fn:
fn(value);
case final JSFunction fn:
fn.callAsFunction(null, value.toJS);
case null:
throw TestingException('No onValueChange handler on $type');
}
}