iif<U> method
U
iif<U>({
- required U some(
- T
- required U none(),
Implementation
U iif<U>({required U Function(T) some, required U Function() none}) => _value != null ? some(_value!) : none();