create static method
A file of kilobytes zero bytes, with the MIME type its name
suggests unless mimeType is given.
Implementation
static XFile create(String name, {int kilobytes = 0, String? mimeType}) =>
XFile.fromData(
Uint8List(kilobytes * 1024),
path: name,
name: name,
mimeType: mimeType ?? lookupMimeType(name),
lastModified: DateTime.now(),
);