toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (detectionRules != null) 'detectionRules': detectionRules!,
      if (dictionary != null) 'dictionary': dictionary!,
      if (exclusionType != null) 'exclusionType': exclusionType!,
      if (infoType != null) 'infoType': infoType!,
      if (likelihood != null) 'likelihood': likelihood!,
      if (regex != null) 'regex': regex!,
      if (sensitivityScore != null) 'sensitivityScore': sensitivityScore!,
      if (storedType != null) 'storedType': storedType!,
      if (surrogateType != null) 'surrogateType': surrogateType!,
    };