registerKeyFor method
Registers material as the key for locator, ahead of the default.
Throws StateError for material that is not resolvable.
Implementation
@override
void registerKeyFor(String locator, TomKeyMaterial material) {
material.requireResolvable();
_overrides[locator] = material;
}