How to call a top level function that has the same name as variable in Dart?

Viewed 1225

Simplified code example:

int value() => 1;
main() {
  int value = value(); // Error here: 'value' isn't a function 
}

Is there a way to specify that I want to call a function?

If no, why is it impossible?

1 Answers
Related