toJson method
Implementation
Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
if (_$data.containsKey('metric')) {
final l$metric = metric;
result$data['metric'] =
l$metric == null ? null : toJson$Enum$FlowMetricTriggerEnum(l$metric);
}
return result$data;
}