pullFile method

Future<String> pullFile(
  1. String path
)

Pull a file as base 64 encoded string

For example:

var pulledFile = await driver.device
    .pullFile('Library/AddressBook/AddressBook.sqlitedb');
expect(pulledFile.isNotEmpty, true);

Implementation

Future<String> pullFile(String path) => _client.send(
    _handler.device.buildPullFileRequest(path),
    _handler.device.parsePullFileResponse);