getFileInfo method

Future<String> getFileInfo(
  1. RemoteObjectId objectId
)

Returns file information for the given File wrapper. objectId JavaScript object id of the node wrapper.

Implementation

Future<String> getFileInfo(runtime.RemoteObjectId objectId) async {
  var result = await _client.send('DOM.getFileInfo', {
    'objectId': objectId,
  });
  return result['path'] as String;
}