File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,13 @@ class Pspdfkit {
4343 static Future <String > getFormFieldValue (String fullyQualifiedName) =>
4444 _channel.invokeMethod ('getFormFieldValue' , < String , dynamic > {'fullyQualifiedName' : fullyQualifiedName});
4545
46+ /// Applies Instant document JSON to the presented document.
47+ static Future <bool > applyInstantJson (String annotationsJson) async =>
48+ _channel.invokeMethod ('applyInstantJson' , < String , String > {'annotationsJson' : annotationsJson});
49+
50+ /// Exports Instant document JSON from the presented document.
51+ static Future <String > exportInstantJson () async => _channel.invokeMethod ('exportInstantJson' );
52+
4653 /// Saves the document back to its original location if it has been changed.
4754 /// If there were no changes to the document, the document file will not be modified.
4855 static Future <bool > save () => _channel.invokeMethod ('save' );
You can’t perform that action at this time.
0 commit comments