SubnetworkLogConfig.fromJson constructor

SubnetworkLogConfig.fromJson(
  1. Map json_
)

Implementation

SubnetworkLogConfig.fromJson(core.Map json_)
  : this(
      aggregationInterval: json_['aggregationInterval'] as core.String?,
      enable: json_['enable'] as core.bool?,
      filterExpr: json_['filterExpr'] as core.String?,
      flowSampling: (json_['flowSampling'] as core.num?)?.toDouble(),
      metadata: json_['metadata'] as core.String?,
      metadataFields:
          (json_['metadataFields'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
    );