getFirmware function

String? getFirmware(
  1. String? location
)

Get the file from the path specified

Implementation

String? getFirmware(String? location){
  if(location == null) return null;
  return File(path.join(location)).readAsStringSync();
}