I have spent days trying to figure out what I am doing wrong. I am trying to translate a function from VBA to Dart and it appears that I have copied line for line, but I kee