FHUNumExtensions extension
- on
Properties
- asDays → Duration
-
Available on num, provided by the FHUNumExtensions extension
no setter - asHours → Duration
-
Available on num, provided by the FHUNumExtensions extension
no setter - asMilliseconds → Duration
-
Available on num, provided by the FHUNumExtensions extension
Easy way to make Durations from numbers.no setter - asMinutes → Duration
-
Available on num, provided by the FHUNumExtensions extension
no setter - asSeconds → Duration
-
Available on num, provided by the FHUNumExtensions extension
no setter -
daysDelay
→ Future<
void> -
Available on num, provided by the FHUNumExtensions extension
no setter - fourth → double
-
Available on num, provided by the FHUNumExtensions extension
Returns fourth of the numberno setter - getRandom → int
-
Available on num, provided by the FHUNumExtensions extension
no setter - half → double
-
Available on num, provided by the FHUNumExtensions extension
Returns half of the numberno setter -
hoursDelay
→ Future<
void> -
Available on num, provided by the FHUNumExtensions extension
no setter - isNegative → bool
-
Available on num, provided by the FHUNumExtensions extension
Returns if the number is negativeno setter - isPositive → bool
-
Available on num, provided by the FHUNumExtensions extension
Returns if the number is positiveno setter - isValidPhoneNumber → bool
-
Available on num, provided by the FHUNumExtensions extension
no setter - isZero → bool
-
Available on num, provided by the FHUNumExtensions extension
Returns if the number is zer0no setter -
millisecondsDelay
→ Future<
void> -
Available on num, provided by the FHUNumExtensions extension
no setter -
minDelay
→ Future<
void> -
Available on num, provided by the FHUNumExtensions extension
no setter - numberOfDigits → int
-
Available on num, provided by the FHUNumExtensions extension
Returns number of digits in this numberno setter - removeTrailingZero → String
-
Available on num, provided by the FHUNumExtensions extension
no setter - roundToFiftyOrHundred → double
-
Available on num, provided by the FHUNumExtensions extension
no setter - roundToTenth → double
-
Available on num, provided by the FHUNumExtensions extension
no setter -
secDelay
→ Future<
void> -
Available on num, provided by the FHUNumExtensions extension
no setter - tenth → double
-
Available on num, provided by the FHUNumExtensions extension
Returns tenth of the numberno setter - third → double
-
Available on num, provided by the FHUNumExtensions extension
Returns third of the numberno setter
Methods
-
asGreeks(
[int zerosFractionDigits = 0, int fractionDigits = 1]) → String -
Available on num, provided by the FHUNumExtensions extension
Converts a number to a format that includes Greek symbols for thousands, millions, and beyond. -
delay(
[FutureOr callback()?]) → Future< void> -
Available on num, provided by the FHUNumExtensions extension
Utility to delay some callback (or code execution). -
until(
int end, {int step = 1}) → Iterable< num> -
Available on num, provided by the FHUNumExtensions extension
Returns a sequence of integer, starting fromthis
, increments bystep
and ends atend