updateSemantics method

void updateSemantics(
  1. SemanticsUpdate update
)

Change the retained semantics data about this FlutterView.

PlatformDispatcher.setSemanticsTreeEnabled must be called with true before sending update through this method.

This function disposes the given update, which means the semantics update cannot be used further.

Implementation

void updateSemantics(SemanticsUpdate update) =>
    _updateSemantics(viewId, update as _NativeSemanticsUpdate);