world property
T
get
world
Reference to the World instance that this component belongs to.
Implementation
T get world => _world ??= _findWorldAndCheck();
Allows you to set the world instance explicitly. This may be useful in tests.
Implementation
@visibleForTesting
set world(T? value) => _world = value;