toJson method

Map<String, dynamic> toJson()

Returns a json representation of an instance of DocumentScannerOptions.

Implementation

Map<String, dynamic> toJson() => {
  'pageLimit': pageLimit,
  'format': documentFormat.name,
  'mode': mode.name,
  'isGalleryImport': isGalleryImport,
};