ifNull<R> method

R? ifNull<R>(
  1. R fn()
)

Implementation

R? ifNull<R>(R Function() fn) => (this == null) ? fn() : null;