guards property

List<BeamGuard> guards

Guards that will be executing check when this gets beamed to.

Checks will be executed in order; chain of responsibility pattern. When some guard returns false, a candidate will not be accepted and stack of pages will be updated as is configured in BeamGuard.

Override this in your subclasses, if needed. See BeamGuard.

Implementation

List<BeamGuard> get guards => const <BeamGuard>[];