ensureSemantics method Null safety
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.pipelineOwner.ensureSemantics();
}