select<R, A> method Null safety

R select<R, A>(
  1. DisplayModeSelector<R, A> selector,
  2. A arg
)

Select something based on whether we're in an int mode or a float mode.

Implementation

R select<R, A>(DisplayModeSelector<R, A> selector, A arg);