getGlobalConstant method

dynamic getGlobalConstant(
  1. Type type,
  2. int index
)

Get a constant value in the table at the index.

Implementation

dynamic getGlobalConstant(Type type, int index) {
  assert(constants.keys.contains(type));
  return constants[type]![index]!;
}