QueryInsightsInstanceConfig.fromJson constructor

QueryInsightsInstanceConfig.fromJson(
  1. Map json_
)

Implementation

QueryInsightsInstanceConfig.fromJson(core.Map json_)
    : this(
        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,
      );