create method
Creates a file if none exists or truncates an existing file and resolves to an instance of {@linkcode Deno.FsFile}.
const file = await Deno.create("/foo/bar.txt");
Requires allow-read
and allow-write
permissions.
Implementation
_i2.Future<_i4.FsFile> create(_i2.Object path) =>
_i3.promiseToFuture(_i3.callMethod(
this,
'create',
[path],
));