-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing becomes impossible #170
Comments
@RafaRuiz is there an issue using the static functions? |
@Zazo032 what do you think about this? |
I like the instance approach, Firebase plugins did the same thing, and if it helps on the testing side, I think there are no downsides. However, we should do the addition, deprecation and removal in different releases |
We can't have both static and instance members with the same name dart-lang/language#1711 |
When having all calls static, testing this is impossible.
Would it be good to create an aside "instance" that starts with an initialization then with that object, you can call anything else?
Example:
Instead of:
I would do:
I can submit a PR for this.
The text was updated successfully, but these errors were encountered: