map<R> method
Implementation
FutureOr<R> map<R>(R Function(T value) transform) {
if (this is Future<T>) {
return (this as Future<T>).then(transform);
}
return transform(this as T);
}
FutureOr<R> map<R>(R Function(T value) transform) {
if (this is Future<T>) {
return (this as Future<T>).then(transform);
}
return transform(this as T);
}