0

Usually payment request API being used with Javascript, is there any example on how to use payment request API with AngularDart? as for now i never seen someone using it which make me think is that possible. Or does the Payment Request API intended to be used by only javascript?

mehmet adi
  • 113
  • 1
  • 3
  • 10

1 Answers1

0

So Dart can call any JS in the browser using package:js https://pub.dartlang.org/packages/js

In terms of GoogleUIs it is pretty easy to generate the RPCs in a couple of different languages using: https://github.com/dart-lang/discoveryapis_generator

Here are some examples that are made with that: https://github.com/dart-lang/googleapis

Ted Sander
  • 1,899
  • 8
  • 11