debugResolvePortal static method
See which Portal will indeed be used given the configuration Visible only for debugging purpose.
Implementation
static String? debugResolvePortal(
BuildContext context,
List<PortalLabel<dynamic>> portalCandidateLabels,
) {
final scope = PortalLinkScope.of(context, portalCandidateLabels);
if (scope == null) {
return null;
}
return '(debugName: ${scope.debugName}, portalLabel: ${scope.portalLabels})';
}