ensureSemantics method

SemanticsHandle ensureSemantics()

Enable semantics in a test by creating a SemanticsHandle.

The handle must be disposed at the end of the test.

Implementation

SemanticsHandle ensureSemantics() {
  return binding.ensureSemantics();
}