InsightsConfig.fromJson constructor

InsightsConfig.fromJson(
  1. Map json_
)

Implementation

InsightsConfig.fromJson(core.Map json_)
    : this(
        queryInsightsEnabled: json_.containsKey('queryInsightsEnabled')
            ? json_['queryInsightsEnabled'] as core.bool
            : null,
        queryPlansPerMinute: json_.containsKey('queryPlansPerMinute')
            ? json_['queryPlansPerMinute'] as core.int
            : null,
        queryStringLength: json_.containsKey('queryStringLength')
            ? json_['queryStringLength'] as core.int
            : null,
        recordApplicationTags: json_.containsKey('recordApplicationTags')
            ? json_['recordApplicationTags'] as core.bool
            : null,
        recordClientAddress: json_.containsKey('recordClientAddress')
            ? json_['recordClientAddress'] as core.bool
            : null,
      );