Input$PurchaseInvoiceOriginInput.fromJson constructor

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

Implementation

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