charge method

Future<bool> charge()

Implementation

Future<bool> charge() async {
  final UUserResponse? u = selectedUser.value;
  if (u == null) return false;
  return await send(UServices.wallet.charge(p: UWalletChargeParams(userId: u.id, amount: numOf(chargeAmountController) ?? 0)), read) != null;
}