toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoExpansionMode != null) 'autoExpansionMode': autoExpansionMode!,
      if (displayName != null) 'displayName': displayName!,
      if (enableFuzzyExtraction != null)
        'enableFuzzyExtraction': enableFuzzyExtraction!,
      if (entities != null) 'entities': entities!,
      if (excludedPhrases != null) 'excludedPhrases': excludedPhrases!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (redact != null) 'redact': redact!,
    };