map<U extends Object> method
Maps an this Option
Implementation
Option<U> map<U extends Object>(U Function(T) f) {
if (v == null) {
return None;
} else {
return Some(f(v!));
}
}
Maps an this Option
Option<U> map<U extends Object>(U Function(T) f) {
if (v == null) {
return None;
} else {
return Some(f(v!));
}
}