A flutter package to create URL query parameters.
Add this to your package's pubspec.yaml
file:
query_params: '^0.6.1'
with pub:
$ pub get
or with Flutter:
$ flutter packages get
import 'package:query_params/query_params.dart';
URLQueryParams queryParams = new URLQueryParams();
queryParams.append('value1',"1");
queryParams.append('value2',"myString");
print(queryParams.toString()); // value1=1&value2=myString
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.