indexOf method

Uint8List indexOf(
  1. String typeName
)

Implementation

Uint8List indexOf(String typeName) {
  if (!_idx.containsKey(typeName)) {
    throw 'Missing type index for $typeName';
  }
  return slebEncode(_idx[typeName] ?? 0);
}