beamToNamed property

If guard check returns false, beam to this URI string.

origin holds the origin BeamLocation from where it is being beamed from. null if there's no origin, which may happen if it's the first navigation or the history was cleared. target holds the BeamLocation to where we tried to beam to, i.e. the one on which the check failed.

Implementation

final String Function(BeamLocation? origin, BeamLocation target)? beamToNamed;