getClass method

ASTClass<V> getClass()

Implementation

ASTClass<V> getClass() {
  if (_class == null) {
    var coreClass = ApolloVMCore.getClass<V>(name);
    if (coreClass == null) {
      throw StateError('Class not set for type: $this');
    }
    _class = coreClass;
  }
  return _class!;
}