In python we have the global keyword which allows us to use a global variable within a function much like this:
test = "this is a test"
def change_test():
global test
test = "I've changed it"
change_test()
print(test) # should print (I've changed it) to the console.
What is the equivalent to this in dart/flutter. I haven't find anything remotely similar.