toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "documentSize": documentSize.toMap(),
    "duplex": duplex.toMap(),
    "colorType": colorType.toMap(),
    "resolution": resolution.toMap(),
    "paperSource": paperSource.toMap(),
    "autoDocumentSizeScan": autoDocumentSizeScan,
    "whitePageRemove": whitePageRemove,
    "groundColorCorrection": groundColorCorrection,
    "specialScanMode": specialScanMode.toMap()
  };
}