async/future library
Mixins
-
FutureMixin<
T> -
class MyFuture with FutureMixin<T> implements Future<T> { // Must override @override Future get future; ... }
class MyFuture with FutureMixin<T> implements Future<T> {
// Must override
@override
Future get future;
...
}