ByteModel.createFromFile constructor
ByteModel.createFromFile(
- File file
Implementation
factory ByteModel.createFromFile(File file) {
final len = file.lengthSync();
return ByteModel.create(len.toDouble());
}