presentInstant static method
Loads an Instant document from a server serverUrl with using a jwt in a native Instant PDFViewer.
The serverUrl is the URL of the server that hosts the Instant document.
The jwt is the JSON Web Token used to authenticate the user. It also contains the document ID.
The configuration is a map of PDFViewer configurations.
Returns true if the document was successfully opened.
Returns false if the document could not be opened.
Implementation
static Future<bool?> presentInstant(String serverUrl, String jwt,
[dynamic configuration]) async =>
PspdfkitFlutterPlatform.instance
.presentInstant(serverUrl, jwt, configuration);