I am building a taxie app, but this is the issue i get when the user places the request.
This is the line being referenced
? Constant.amountShow(amount: double.parse(orderModel.offerRate.toString()).toStringAsFixed(Constant.currencyModel!.decimalDigits!))
Please help
Not much yet. but i tried the null-aware
? Constant.amountShow(amount: double.parse(orderModel.offerRate?.toString() ?? ‘0.0’).toStringAsFixed(Constant.currencyModel?.decimalDigits ?? 0))
but still im not winning
Seeker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.