NullableNumExtensions extension

Safe helper methods for nullable numbers.

on

Methods

orZero() num

Available on num?, provided by the NullableNumExtensions extension

Returns the value or zero.
toCurrency({String symbol = '₹', String locale = AmountFormatter.defaultLocale, int decimalDigits = 0, String fallback = AmountFormatter.fallback}) String

Available on num?, provided by the NullableNumExtensions extension

Formats the number as currency.