toJson method
Implementation
Map<String, Object?> toJson() => {
'name': name,
'host': host,
'transport': transport,
'default': isDefault,
'language': language,
'width_dots': widthDots,
'paper_width_mm': paperWidthMm,
'paper_height_mm': paperHeightMm,
'dpi': dpi,
'compress': compress,
'pl_gap_mm': plGapMm,
'pl_density': plDensity,
'pl_direction': plDirection,
'xp_cut': xpCut,
'xp_density': xpDensity,
};