utils/helper library
Functions
-
extractAmount(
String? amount) → num? -
formatCurrency(
String amount, {bool spaceIcon = true, bool ignoreSymbol = false, String symbol = '₦'}) → String -
formatCurrencyInput(
String amount) → String -
formatDate(
String date, {String? format}) → String -
getAmountTransaction(
String amount) → String -
getSuccessful(
dynamic result) → bool -
parseError(
dynamic errorResponse, String? defaultMessage, [bool ignore401 = false]) → String -
parseJson(
String text) → dynamic