I found a solution for the simulators in iOS:
https://github.com/firebase/flutterfire/issues/13575
"in iOS , use getAPNSToken instead of getToken and it will be work"