mapOr<U> method
Returns the provided default result (if none), or applies a function to the contained value (if any).
Implementation
@override
U mapOr<U>(U defaultValue, U Function(T) f) {
return f(v);
}
Returns the provided default result (if none), or applies a function to the contained value (if any).
@override
U mapOr<U>(U defaultValue, U Function(T) f) {
return f(v);
}