setRepresentedFilename static method

Future<void> setRepresentedFilename(
  1. String filename
)

Sets the represented file of the window.

Implementation

static Future<void> setRepresentedFilename(String filename) async {
  await _completer.future;
  await _windowManipulatorMethodChannel.invokeMethod('setRepresentedFile', {
    'filename': filename,
  });
}