Input$ReduciblePriceInput.fromJson constructor

Input$ReduciblePriceInput.fromJson(
  1. 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 as String?);
  }
  if (data.containsKey('afterReduction')) {
    final l$afterReduction = data['afterReduction'];
    result$data['afterReduction'] = (l$afterReduction as String?);
  }
  return Input$ReduciblePriceInput._(result$data);
}