fromMap static method

PrinterSettingItem fromMap(
  1. Map map
)

Implementation

static PrinterSettingItem fromMap(Map<dynamic, dynamic> map) {
  int id = map["id"];
  String name = map["name"];
  return PrinterSettingItem.valueFromName(name);
}