spendCurrency method Null safety

Future<void> spendCurrency(
  1. int amount
)

spend currency balance, does NOT return, set setSpendCurrencyHandler to get notified with result

Implementation

Future<void> spendCurrency(int amount) async {
  await _channel.invokeMethod('spendCurrency', <String, dynamic>{
    'amount': amount,
  });
}