fullUrl method
The full URL with the query string, like
https://example.com/users?page=2.
Implementation
String fullUrl() {
String query = uri.hasQuery ? '?${uri.query}' : '';
return '${scheme()}://${host()}${uri.path}$query';
}
The full URL with the query string, like
https://example.com/users?page=2.
String fullUrl() {
String query = uri.hasQuery ? '?${uri.query}' : '';
return '${scheme()}://${host()}${uri.path}$query';
}