fromMap static method

PrinterSpec fromMap(
  1. Map map
)

Implementation

static PrinterSpec fromMap(Map<dynamic, dynamic> map) {
  return PrinterSpec(
      modelId: map["modelId"],
      seriesId: map["seriesId"],
      usdId: map["usdId"],
      headpin: map["headpin"],
      xDpi: map["xDpi"],
      yDpi: map["yDpi"],
      printerCase: map["printerCase"],
      tubeHeadpin: map["tubeHeadpin"],
      modelName:map["modelName"]
  );
}