lastNotNull property

T get lastNotNull

Returns last non null item

Implementation

T get lastNotNull => [...this].where((e) => e != null).last;