debugResetSemanticsIdCounter function Null safety

void debugResetSemanticsIdCounter()

In tests use this function to reset the counter used to generate SemanticsNode.id.

Implementation

void debugResetSemanticsIdCounter() {
  SemanticsNode._lastIdentifier = 0;
}