Skip to content

Instantly share code, notes, and snippets.

@savioserra
Created January 31, 2020 22:06
Show Gist options
  • Save savioserra/ee481ad8680a74b4064a012e58bb0994 to your computer and use it in GitHub Desktop.
Save savioserra/ee481ad8680a74b4064a012e58bb0994 to your computer and use it in GitHub Desktop.
abstract class Test<T> {
Test(String a) {}
}
class Store {}
class AppController = _AppControllerBase with Store;
void main() {
var a = B(inject());
}
T inject<T>() {
print(T);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment