createFileWithDummy 

Requires a Node.js runtime ('qsu/node')Creates a file with the specified size in bytes.
Parameters
| Name | Type | Required | Default |
|---|---|---|---|
filePath | string | ● | – |
| File or directory path | |||
size![]() named | number | ● | – |
| Size of the file to be created (Dummy data is filled as much as the given size) | |||

named parameters are passed as named parameters in Dart and keyword arguments in Python.
Returns
Promise::void
Examples
javascript
await createFileWithDummy('/home/user/test.txt', 100000);dart
await createFileWithDummy('/home/user/test.txt', size: 100000);python
createFileWithDummy('/home/user/test.txt', 100000)