Since FlutterBluePlus version 1.10.0, there is no FlutterBluePlus.instance
. All functions of FlutterBluePlus are now static. It is no longer possible to pass an instance of FlutterBluePlus to anything.
In fact, it is no longer easily mockable.
See how to solve it here.