nullable method
T?
nullable(
- A? a,
- B? b
Takes nullable versions of arguments and runs the computation if all of them
are not null
.
Implementation
T? nullable(A? a, B? b) => a != null && b != null ? this(a, b) : null;