toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (advancedOcrOptions != null)
        'advancedOcrOptions': advancedOcrOptions!,
      if (computeStyleInfo != null) 'computeStyleInfo': computeStyleInfo!,
      if (disableCharacterBoxesDetection != null)
        'disableCharacterBoxesDetection': disableCharacterBoxesDetection!,
      if (enableImageQualityScores != null)
        'enableImageQualityScores': enableImageQualityScores!,
      if (enableNativePdfParsing != null)
        'enableNativePdfParsing': enableNativePdfParsing!,
      if (enableSymbol != null) 'enableSymbol': enableSymbol!,
      if (hints != null) 'hints': hints!,
      if (premiumFeatures != null) 'premiumFeatures': premiumFeatures!,
    };