deepLinkRoute constant
String
const deepLinkRoute
Implementation
static const String deepLinkRoute = '''/// Represents a structured parsed deep link.
class DeepLinkRoute {
/// The target screen name or path identifier (e.g. 'product').
final String screen;
/// The original path segments of the deep link (e.g. ['product', '10']).
final List<String> pathSegments;
/// Query parameters parsed from the deep link query string.
final Map<String, String> queryParameters;
const DeepLinkRoute({
required this.screen,
required this.pathSegments,
required this.queryParameters,
});
@override
String toString() {
return 'DeepLinkRoute(screen: \$screen, pathSegments: \$pathSegments, queryParameters: \$queryParameters)';
}
}
''';