Input$ReduciblePriceInput.fromJson constructor
Input$ReduciblePriceInput.fromJson(
- Map<String, dynamic> data
)
Implementation
factory Input$ReduciblePriceInput.fromJson(Map<String, dynamic> data) {
final result$data = <String, dynamic>{};
if (data.containsKey('beforeReduction')) {
final l$beforeReduction = data['beforeReduction'];
result$data['beforeReduction'] =
l$beforeReduction == null ? null : decimalFromJson(l$beforeReduction);
}
if (data.containsKey('afterReduction')) {
final l$afterReduction = data['afterReduction'];
result$data['afterReduction'] =
l$afterReduction == null ? null : decimalFromJson(l$afterReduction);
}
return Input$ReduciblePriceInput._(result$data);
}