ifTrue<T> method

T? ifTrue<T>(
  1. T value
)

Implementation

T? ifTrue<T>(T value) => this ? value : null;