fromMap static method
Gets a possible PrintJobResolution instance from a Map value.
Implementation
static PrintJobResolution? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = PrintJobResolution(
horizontalDpi: map['horizontalDpi'],
id: map['id'],
label: map['label'],
verticalDpi: map['verticalDpi'],
);
return instance;
}