importBookmarkJson method
Imports user bookmarks into the document.
await controller.importBookmarkJson('{"0": "Page 1", "3": "Page 4"}');
bookmarkJson
needs to be in valid bookmark JSON format, for
example {"0": "Page 1"}. Page numbers are 1-indexed.
Implementation
Future<void> importBookmarkJson(String bookmarkJson) {
return _channel.invokeMethod(Functions.importBookmarkJson,
<String, dynamic>{Parameters.bookmarkJson: bookmarkJson});
}