SourceCrowdingConfig.fromJson constructor

SourceCrowdingConfig.fromJson(
  1. Map json_
)

Implementation

SourceCrowdingConfig.fromJson(core.Map json_)
    : this(
        numResults: json_.containsKey('numResults')
            ? json_['numResults'] as core.int
            : null,
        numSuggestions: json_.containsKey('numSuggestions')
            ? json_['numSuggestions'] as core.int
            : null,
      );