Don't know if it was neccasary but wrote my own Gap-FileSystem-API because on my Android i had problems with dart:html's window.requestFileSystem (s.th like webkitRequestFileSystem isn't supported) to read and write data to the native Filesystem of the device. So with dart:js i wrapped cordovas File/FileTransfer-PlugIn in my Dart code. Not very readable, not very nice but working fine for me. May be you can use some parts of https://github.com/ankaufma/GAP_FileSystemAPI for rikulo_gap.
PS: It seems impossible for me to handle Cordova-Exceptions?! e.g. if a file/dir doesn't exist
Don't know if it was neccasary but wrote my own Gap-FileSystem-API because on my Android i had problems with dart:html's window.requestFileSystem (s.th like webkitRequestFileSystem isn't supported) to read and write data to the native Filesystem of the device. So with dart:js i wrapped cordovas File/FileTransfer-PlugIn in my Dart code. Not very readable, not very nice but working fine for me. May be you can use some parts of https://github.com/ankaufma/GAP_FileSystemAPI for rikulo_gap.
PS: It seems impossible for me to handle Cordova-Exceptions?! e.g. if a file/dir doesn't exist