toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aggregationInterval != null)
        'aggregationInterval': aggregationInterval!,
      if (enable != null) 'enable': enable!,
      if (filterExpr != null) 'filterExpr': filterExpr!,
      if (flowSampling != null) 'flowSampling': flowSampling!,
      if (metadata != null) 'metadata': metadata!,
      if (metadataFields != null) 'metadataFields': metadataFields!,
    };