Hey guys. I've been trying to get the FCM token using this tutorial https://legacy-community.flutterflow.io/c/community-tutorials/solved-get-firebase-cloud-messaging-fcm-token-from-ff but i get this error everytime
"Compilation error: Info: Compiling with sound null safety
lib/main.dart:17:13:
Error: 'FirebaseMessaging' isn't a type.
final FirebaseMessaging fcm = FirebaseMessaging.instance;
^^^^^^^^^^^^^^^^^
lib/main.dart:17:37:
Error: Undefined name 'FirebaseMessaging'.
final FirebaseMessaging fcm = FirebaseMessaging.instance;
^^^^^^^^^^^^^^^^^
Error: Compilation failed."
does anyone knows how to fix this?