fromMap static method
Implementation
static CustomPaperInfo? fromMap(Map<dynamic, dynamic>? map) {
if (map == null) {
return null;
}
return CustomPaperInfo._internal(
Model.fromMap(map["printerModel"]),
PaperKind.fromMap(map["paperKind"]),
Unit.fromMap(map["unit"]),
map["tapeWidth"],
map["tapeLength"],
map["rightMargin"],
map["leftMargin"],
map["topMargin"],
map["bottomMargin"],
map["labelPitch"],
map["markPosition"],
map["markHeight"]);
}