A future that has been completed with this result as a value or an error.
Future<Null> get asFuture => new Future<Null>.error(error, stackTrace);