Updates the caller's Dart ref through an erased bridge.
@override void updateForwardedRef(Object? value) { ref?.current = value as T?; }