SceneKind? sceneKindByConstructor(String constructor) { for (var k in sceneKinds) { if (k.constructor == constructor) return k; } return null; }