toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowlistInputConfig != null)
        'allowlistInputConfig': allowlistInputConfig!,
      if (autoLearning != null) 'autoLearning': autoLearning!,
      if (denylistInputConfig != null)
        'denylistInputConfig': denylistInputConfig!,
      if (lastAllowlistImportOperation != null)
        'lastAllowlistImportOperation': lastAllowlistImportOperation!,
      if (lastDenylistImportOperation != null)
        'lastDenylistImportOperation': lastDenylistImportOperation!,
      if (lastSuggestionsImportOperation != null)
        'lastSuggestionsImportOperation': lastSuggestionsImportOperation!,
      if (matchingOrder != null) 'matchingOrder': matchingOrder!,
      if (maxSuggestions != null) 'maxSuggestions': maxSuggestions!,
      if (minPrefixLength != null) 'minPrefixLength': minPrefixLength!,
      if (name != null) 'name': name!,
      if (suggestionsInputConfig != null)
        'suggestionsInputConfig': suggestionsInputConfig!,
    };