Dart implementation of swarmjs