List<int> get getBytes { if (bytes != null) { return bytes!; } if (fileLocalPath != null) { return File(fileLocalPath!).readAsBytesSync().toList(); } return []; }