payInvoice method
Does a pay_invoice
request
Implementation
Future<PayInvoiceResponse> payInvoice(NwcConnection connection,
{required String invoice}) async {
return _executeRequest<PayInvoiceResponse>(
connection, PayInvoiceRequest(invoice: invoice));
}