say suppose I have class as :
public class Age {
private int age;
public int getAge() {
return this.age;
}
}
In my Main c
get attrs () {
const elem = {
'A' : ${"[data-test='load-more-button']}
'B' : $$('[data-test="product-catalog-row"]'),
}
return elem
}
Is it possible (at this line) to call the get() and assign it to a variable that can be passed to the funcs() rather than passing
attrs = this.attr
? The funcs are in the same files as the get(). What is the correct syntax?
func1(attrs = this.attr){attr.A}
func2(attrs = this.attr){attr.B}