getImage method
- int page
Provides the image URL that refers to a specific page of the presented file.
The page
parameter refers to the number of the presented page. Files that do not consist of pages, for example, jpg images, require setting the value of this parameter to 0.
Implementation
Future<String> getImage(int page) async {
return await _methodChannel.invokeMethod("getImage", {"page": page});
}