plus method

T? plus(
  1. T? val
)

Adds val if if it not null else returns this

Implementation

T? plus(T? val) => val == null ? this : this + val as T?;