Tuesday, 20 August 2013

Dart, Is it possible to pass on the members of an interface implicitly?

Dart, Is it possible to pass on the members of an interface implicitly?

In Dart I have a class:
class A implements Iterable<MyType>{
List<MyType> children;
//other members for A class
}
Is it possible, without using noSuchMethod, to implicitly forward all of
the Iterable<MyType> methods to the List<MyType> children; member?

No comments:

Post a Comment