Uint8List? argumentAsFileContentBytes(int index, [File? def]) { var file = argumentAsFile(index, def); return file?.readAsBytesSync(); }