currentBeamLocation property
BeamLocation<RouteInformationSerializable>
currentBeamLocation
A BeamLocation that is currently responsible for providing a page stack via BeamLocation.buildPages and holds the current BeamState.
Usually obtained via
Beamer.of(context).currentBeamLocation
Implementation
BeamLocation get currentBeamLocation =>
beamingHistory.isEmpty ? EmptyBeamLocation() : beamingHistory.last;