getLogMetadata method
- String logPath
Gets the metadata for a file.
Parameters
- IN logPath The path to the file for which we get the metadata.
Returns
- The log file metadata, or null if the file does not exist.
Throws
- An exception if it fails
Implementation
LogMetadata? getLogMetadata(final String logPath) {
final OperationResult resultString = objectMethod(
_pointerId,
'RecorderBookmarks',
'getMetadata',
args: logPath,
);
final int id = resultString['result'];
if (id == -1) {
return null;
}
return LogMetadata(resultString['result']);
}