AdvancedDatapathObservabilityConfig.fromJson constructor

AdvancedDatapathObservabilityConfig.fromJson(
  1. Map json_
)

Implementation

AdvancedDatapathObservabilityConfig.fromJson(core.Map json_)
    : this(
        enableMetrics: json_.containsKey('enableMetrics')
            ? json_['enableMetrics'] as core.bool
            : null,
        enableRelay: json_.containsKey('enableRelay')
            ? json_['enableRelay'] as core.bool
            : null,
        relayMode: json_.containsKey('relayMode')
            ? json_['relayMode'] as core.String
            : null,
      );