nullmap<F> method

F? nullmap<F>(
  1. F f(
    1. T
    )
)

Implementation

F? nullmap<F>(F Function(T) f) {
    if (this != null) {
        return f(this!);
    } else {
        return null;
    }
}