select<R, A> method Null safety

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

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

Implementation

@override
R select<R, A>(DisplayModeSelector<R, A> selector, A arg) =>
    selector.selectInteger(arg);