Input$BarcodePricesInput.fromJson constructor

Input$BarcodePricesInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$BarcodePricesInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  if (data.containsKey('price')) {
    final l$price = data['price'];
    result$data['price'] = (l$price as String?);
  }
  if (data.containsKey('currency')) {
    final l$currency = data['currency'];
    result$data['currency'] = (l$currency as String?);
  }
  return Input$BarcodePricesInput._(result$data);
}