toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      "version": version,
      "screen": screen,
      "palette": palette.toJson(),
      "localization": localization.toJson(),
      "backgroundColor": backgroundColor.toString(),
      "topBar": topBar.toJson(),
      "actionBar": actionBar.toJson(),
      "viewFinder": viewFinder.toJson(),
      "userGuidance": userGuidance.toJson(),
      "cameraPermission": cameraPermission.toJson(),
      "cameraConfiguration": cameraConfiguration.toJson(),
      "recognizerConfiguration": recognizerConfiguration.toJson(),
      "useCase": useCase.toJson(),
      "sound": sound.toJson(),
      "vibration": vibration.toJson(),
      "timeouts": timeouts.toJson(),
    };