registerKeyFor abstract method

void registerKeyFor(
  1. String locator,
  2. TomKeyMaterial material
)

Registers material as the key for locator, ahead of the default.

Throws StateError for material that is not resolvable.

Implementation

void registerKeyFor(String locator, TomKeyMaterial material);