1
在達特我有一個類:Dart,是否可以隱式傳遞接口的成員?
class A implements Iterable<MyType>{
List<MyType> children;
//other members for A class
}
是否有可能不使用noSuchMethod
,隱含着所有的Iterable<MyType>
方法到List<MyType> children;
成員?
不錯的使用IterableBase – 0xor1