bytesFromImageFile static method

List<int> bytesFromImageFile(
  1. String path
)

Implementation

static List<int> bytesFromImageFile(String path) {
  File imgFile = File(path);
  return imgFile.readAsBytesSync();
}