lastOrNull property

V? get lastOrNull

Returns last element in array, if it's empty returns null.

Implementation

V? get lastOrNull => fn.lastOrNull<V>(this);