knownDevicesFromFile method

dynamic knownDevicesFromFile(
  1. File file
)

Implementation

knownDevicesFromFile(File file) async {
  // Read the file
  String contents = await file.readAsString();
  var jsonString = json.decode(contents);
  knownDevicesFromJson(jsonString);
}