Skip to content

Commit

Permalink
Fix marshaling of paymentRequest complete function args
Browse files Browse the repository at this point in the history
*
  • Loading branch information
cornwe19 committed Sep 5, 2024
1 parent 86bd65b commit 95bd3be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ extension type JsPaymentResponse._(JSObject o) {
@JS('complete')
external JSFunction get _complete;
void Function(String) get complete {
return (String val) => _complete.callAsFunction(val.toJS);
return _complete.dartify() as void Function(String);
}
}

Expand Down

0 comments on commit 95bd3be

Please sign in to comment.