query_parser 1.0.0+4 query_parser: ^1.0.0+4 copied to clipboard
Parse URL to obtain both the URL path as a String and the QueryString as a Map.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add query_parser
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
query_parser: ^1.0.0+4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:query_parser/query_parser.dart';