firstOr method

T firstOr(
  1. T other
)

Implementation

T firstOr(T other) => firstOrNull ?? other;