An API to use PhoneGap's cordova.js with native Dart Code