Converts instance to a map.
Map<String, dynamic> toMap() { return { "horizontalDpi": horizontalDpi, "id": id, "label": label, "verticalDpi": verticalDpi, }; }