debugEntity property
A development-only way to access entity
outside of UseCase
.
The only difference with entity
is that debugEntity
is not "protected".
Will not work in release mode.
This is useful for tests.
Implementation
E get debugEntity => super.state;