bothScreen static method

Future<String> bothScreen()

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;
}