exec function
Implementation
void exec({required VoidCallback androidCall,required VoidCallback iosCall}){
if(Platform.isAndroid){
androidCall.call();
}else if(Platform.isIOS){
iosCall.call();
}
}
void exec({required VoidCallback androidCall,required VoidCallback iosCall}){
if(Platform.isAndroid){
androidCall.call();
}else if(Platform.isIOS){
iosCall.call();
}
}