onCheckFailed property

(void Function(BuildContext context, BeamLocation<RouteInformationSerializable> location)?) onCheckFailed
final

Arbitrary closure to execute when check fails.

This will run before and regardless of beamTo, beamToNamed.

Implementation

final void Function(BuildContext context, BeamLocation location)?
    onCheckFailed;