Im starting learning flutter, and i've coding an app that contains some ads like intersticial from AdMob.
Im guiding myself from a YouTube video 
CodePudding user response:
Like nvoigt said, the tutorial it´s obsolete and this is a null safety-related error.
In this case making the method with a ? after dynamic would probably work
listener: (AdmobAdEvent event, Map<Stringm, dynamic?>) args {}
CodePudding user response:
As stated in the error, you may change to this
listener: (AdmobAdEvent event, Map<String, dynamic>? args) { }
