Google is committed to advancing racial equity for Black communities. See how.

uniqueName function

*<Null safety>*

String uniqueName (String prefix)

Utility function to Generate unique names for nodes and properties.

Implementation

String uniqueName(String prefix) {
  final suffix = _nextSuffix++;
  return '$prefix$suffix';
}