// @dart = 2.9 | |
abstract class Interface { | |
String method(num i); | |
} | |
abstract class Interface2 { | |
String method(covariant int i); | |
} | |
mixin A implements Interface { | |
String method(num i, {String s = "hello"}) => s; | |
} | |
abstract class B implements Interface { | |
String method(num i); | |
} | |
abstract class D implements Interface, Interface2 {} | |
class E with A, D {} | |
abstract class F implements Interface {} | |
class G with A, F {} | |
main() {} |