use dedicated call for default bang url
This commit is contained in:
@@ -92,6 +92,9 @@ class Bang with FastEquatable implements Insertable<Bang> {
|
||||
: Uri.encodeComponent(input)
|
||||
: input;
|
||||
}
|
||||
Uri getDefaultUrl() {
|
||||
return getTemplateUrl('');
|
||||
}
|
||||
|
||||
Uri getTemplateUrl(String? query) {
|
||||
final url = (query != null)
|
||||
|
||||
Reference in New Issue
Block a user