anchor.diff:    }
   
     void _commit() {
  -    var name = _nameElement.value.trim();
  +    final var name = _nameElement.value.trim();
       if (name.isNotEmpty) {
         spark.projectLocationManager.createNewFolder(name)
             .then((LocationResult location) {
  
positive.code:       spark.showErrorMessage('Error while running pub get', e.toString());
      });
    }
  
  }
  
  class ResourceRefreshJob extends Job {
  
negative.code:   }
  
    void _commit() {
      final String username = (getElement('#gitUsername') as InputElement).value;
      final String password = (getElement('#gitPassword') as InputElement).value;
      final String encoded =
          JSON.encode({'username': username, 'password': password});
      spark.syncPrefs.setValue("git-auth-info", encoded).then((_) {
        completer.complete({'username': username, 'password': password});
        completer = null;
  