If you are using native bridge and adding flutter module into native iOS code add this line where you are initialising flutter engine GeneratedPluginRegistrant.register(with: flutterEngine!)
and
import FlutterPluginRegistrant