[dart_trajectory] Fix to apply to_f() to all method arguments