constKeys method

void constKeys(
  1. List<K> keys
)

Defines the Stack.keys-accessor as a constant function that always returns the specified value.

Implementation

void constKeys(List<K> keys) {
  this.keys = constant(keys);
}