FicNumberExtensionNullable<T extends num> extension

on
  • T?

Methods

inRange(T min, T max, {required T orElse}) → T

Available on T?, provided by the FicNumberExtensionNullable extension

Returns the number inRange between min and max. If the number is null, return orElse.