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,
      );