GenericExt<T extends Object> extension

on
  • T?

Methods

let<R>(R? block(T value)) → R?
Runs the block if the value is not null and returns the result. Returns null if the value is null.