Last updated:
0 purchases
route parser
Route Parser #
A route parsing dart package.
Usage #
import 'package:route_parser/route_parser.dart';
// parse
RouteParser('/route/:id').parse('/route/100'); // match true with params['id'] = 100
// match
RouteParser('/route').match('/route'); // true
RouteParser('/route').match('/route', matchChildren: true); // true
RouteParser('/route').match('/route/any'); // false
RouteParser('/route').match('/route/any', matchChildren: true); //true
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.