Generates a URL with an ID parameter.
String withId(num id) { return Uri.parse(this).replace( queryParameters: { "id": "$id", }, ).toString(); }