mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
Update Dart docs
This commit is contained in:
committed by
Erdem Yerebasmaz
parent
41213db8de
commit
197b8d965c
@@ -8,11 +8,13 @@ Future<void> healthCheckStatus() async {
|
||||
// ANCHOR_END: health-check-status
|
||||
}
|
||||
|
||||
Future<void> reportPaymentFailure() async {
|
||||
Future<void> reportPaymentFailure({required String paymentHash}) async {
|
||||
// ANCHOR: report-payment-failure
|
||||
String paymentHash = "...";
|
||||
await BreezSDK().reportIssue(
|
||||
req: ReportIssueRequest.paymentFailure(
|
||||
data: ReportPaymentFailureDetails(paymentHash: paymentHash)));
|
||||
ReportIssueRequest req = ReportIssueRequest.paymentFailure(
|
||||
data: ReportPaymentFailureDetails(
|
||||
paymentHash: paymentHash,
|
||||
),
|
||||
);
|
||||
await BreezSDK().reportIssue(req: req);
|
||||
// ANCHOR_END: report-payment-failure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user