ifNotNull<R> method

R? ifNotNull<R>(
  1. R? then(
    1. T
    )
)

Implementation

R? ifNotNull<R>(R? Function(T) then) => isNull ? null : then(this as T);