ifNull method

A ifNull(
  1. A f()
)

Returns result of f if this is null, else returns this.

Implementation

A ifNull(A Function() f) => this ?? f();