copyIntoContainer method

Future<void> copyIntoContainer(
  1. Transferable transferable,
  2. String destination, [
  3. int mode = kDefaultTransferMode
])

Copies transferable into the running container immediately.

Unlike withCopyIntoContainer (which schedules the copy for start), this method can be called at any point after start returns.

mode defaults to kDefaultTransferMode (0o644).

Implementation

Future<void> copyIntoContainer(
  Transferable transferable,
  String destination, [
  int mode = kDefaultTransferMode,
]) =>
    _transferIntoContainer(transferable, destination, mode);