Skip to content

Instantly share code, notes, and snippets.

@tejainece
Created May 31, 2018 21:30
Show Gist options
  • Save tejainece/025d642b4f1455922f9eb245b1d0ed33 to your computer and use it in GitHub Desktop.
Save tejainece/025d642b4f1455922f9eb245b1d0ed33 to your computer and use it in GitHub Desktop.
abstract class Mixin {
String mixed;
}
class Base {
String based;
Base();
Base.make({this.based});
}
class Derived extends Base with Mixin {
String derived;
Derived();
Derived.make({this.derived, String based}): super.make(based: based);
}
void main() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment