fromMap static method
dynamic
fromMap(
- Map map
)
Implementation
static fromMap(Map<dynamic, dynamic> map) {
return ScanParameters(
documentSize: MediaSize.fromMap(map["documentSize"]),
duplex: Duplex.fromMap(map["duplex"]),
colorType: ColorProcessing.fromMap(map["colorType"]),
resolution: Resolution.fromMap(map["resolution"]),
paperSource: ScanPaperSource.fromMap(map["paperSource"]),
autoDocumentSizeScan: map["autoDocumentSizeScan"],
whitePageRemove: map["whitePageRemove"],
groundColorCorrection: map["groundColorCorrection"],
specialScanMode: ScanSpecialMode.fromMap(map["specialScanMode"]));
}