close method
Implementation
Future close() {
return Future.wait(_routes.map((r) => r.controller.close())).then((_) {
_subscription.cancel();
});
}
Future close() {
return Future.wait(_routes.map((r) => r.controller.close())).then((_) {
_subscription.cancel();
});
}