getOpfData method
Returns the contents of the .OPF file of the book. Returns an empty string, if the core is not initialised yet.
Implementation
String getOpfData() {
Pointer<BufferString> str = (getOpfDataNative?.call(_sdk))!;
String result = str.ref.toString();
if (str != nullptr) {
freeBufferString(str);
return result;
}
return '';
}