asFuture property
override
A future that has been completed with this result as a value or an error.
Implementation
Future<T> get asFuture => new Future.value(value);
A future that has been completed with this result as a value or an error.
Future<T> get asFuture => new Future.value(value);