runtime property Null safety

ManagedEntityRuntime? runtime

Set of callbacks that are implemented differently depending on compilation target.

If running in default mode (mirrors enabled), is a set of mirror operations. Otherwise, code generated.

Implementation

ManagedEntityRuntime? get runtime =>
    RuntimeContext.current[instanceType] as ManagedEntityRuntime?;