source property

String source
final

An expression giving what to upload instead of asking the user: a data: URL (what a captureScreenshot gives as ${result.image}), a map {"data": "data:...", "name": "shot.png"}, or a list of them. Empty: the user picks the files. An older runtime ignores it and asks.

Implementation

final String source;