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