mapOr<R> method
R
mapOr<R>(
- R f(
- T
- required R or,
Implementation
R mapOr<R>(R Function(T) f, {required R or}) {
if (this == null) {
return or;
} else {
return f(this!);
}
}