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

uniqueName function

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';
}