bothScreen static method
This function is setting the image to the home & lock both screen as a wallpaper.
Implementation
static Future<String> bothScreen() async {
final String resultvar =
await _channel.invokeMethod('Both', 'myimage.jpeg');
return resultvar;
}