ScoringConfig.fromJson constructor

ScoringConfig.fromJson(
  1. Map json_
)

Implementation

ScoringConfig.fromJson(core.Map json_)
    : this(
        disableFreshness: json_.containsKey('disableFreshness')
            ? json_['disableFreshness'] as core.bool
            : null,
        disablePersonalization: json_.containsKey('disablePersonalization')
            ? json_['disablePersonalization'] as core.bool
            : null,
      );