nameToTag static method

int nameToTag(
  1. String name
)

Implementation

static int nameToTag(String name) {
  final codeUnits = name.codeUnits;
  return codeUnits[0] << 24 |
      codeUnits[1] << 16 |
      codeUnits[2] << 8 |
      codeUnits[3];
}