debitcard method

  1. @override
void debitcard(
  1. String amount
)
override

Implementation

@override
void debitcard(String amount) async {
  Map<String, String> args = {"amount": amount};
  methodChannel.invokeMethod("debitcard", args);
  // if (kDebugMode) {
  //   int max = 0;
  //   String word = "";
  //   for (final key in result["transactionData"].keys) {
  //     max++;
  //     if (max < 22) {
  //       word += '"$key":"${result["transactionData"][key]}",';
  //     } else {
  //       print("tolu result");
  //       print({word});
  //       word = '"$key":"${result["transactionData"][key]}",';
  //       max = 1;
  //     }
  //     // print('"$key":"${result["transactionData"][key]}"');
  //   }
  //
  //   print("tolu result");
  //   print({word});
  // }
  // return transactionMonitorFromJson(jsonEncode(result));
}