fetchInvoice method

  1. @override
Future<Map<String, dynamic>?> fetchInvoice(
  1. String callbacklink
)
override

fetch an invoice from lnurl callback endpoint

Implementation

@override
Future<Map<String, dynamic>?> fetchInvoice(String callbacklink) async {
  try {
    return await httpDS.jsonRequest(callbacklink);
  } catch (e) {
    Logger.log.d(e);
    return null;
  }
}