getNewVersion method
Implementation
@override
Future<String?> getNewVersion() async {
print("abhishek");
methodChannel.setMethodCallHandler((call) async {
if (call.method == 'helloBoss') {
print("abhishek daddy");
}
});
final version = await methodChannel.invokeMethod('getNewVersion', ["pal","abhi"]);
return version;
}