lookupType method

int lookupType(
  1. BridgeTypeSpec spec
)

Lookup a type ID from a BridgeTypeSpec

Implementation

int lookupType(BridgeTypeSpec spec) {
  final libIndex = _bridgeLibraryMappings[spec.library]!;
  return typeIds[libIndex]![spec.name]!;
}