MessageHandler removed, but not mentioned in changelog #132
So, I wrap the FlutterLocalNotificationsPlugin in order to use it in my app. I do this so that I can initialize it selectively — seeing as on iOS (at least pre 11 I think) initialize causes a "would you give this app permission to notify?" dialog, and I want to control when this request is made.
To enable this, I pass a SelectNotificationCallback into my wrapper when it is created. (It's managed by an InheritedWidget kind of thing, created when my app starts up.) So, I want to have a field that stores this callback. The type of the field was
Hope that makes sense!