toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      "_type": "SingleScanningMode",
      "confirmationSheetEnabled": confirmationSheetEnabled,
      "barcodeImageVisible": barcodeImageVisible,
      "sheetColor": sheetColor.toString(),
      "dividerColor": dividerColor.toString(),
      "modalOverlayColor": modalOverlayColor.toString(),
      "barcodeTitle": barcodeTitle.toJson(),
      "barcodeSubtitle": barcodeSubtitle.toJson(),
      "submitButton": submitButton.toJson(),
      "cancelButton": cancelButton.toJson(),
      "barcodeInfoMapping": barcodeInfoMapping.toJson(),
      "arOverlay": arOverlay.toJson(),
    };