Input$CommentHolderInput.fromJson constructor
Input$CommentHolderInput.fromJson(
- Map<String, dynamic> data
)
Implementation
factory Input$CommentHolderInput.fromJson(Map<String, dynamic> data) {
final result$data = <String, dynamic>{};
if (data.containsKey('project')) {
final l$project = data['project'];
result$data['project'] = (l$project as String?);
}
if (data.containsKey('card')) {
final l$card = data['card'];
result$data['card'] = (l$card as String?);
}
if (data.containsKey('ticket')) {
final l$ticket = data['ticket'];
result$data['ticket'] = (l$ticket as String?);
}
if (data.containsKey('quotation')) {
final l$quotation = data['quotation'];
result$data['quotation'] = (l$quotation as String?);
}
if (data.containsKey('saleOrder')) {
final l$saleOrder = data['saleOrder'];
result$data['saleOrder'] = (l$saleOrder as String?);
}
if (data.containsKey('saleIssueNote')) {
final l$saleIssueNote = data['saleIssueNote'];
result$data['saleIssueNote'] = (l$saleIssueNote as String?);
}
if (data.containsKey('saleInvoice')) {
final l$saleInvoice = data['saleInvoice'];
result$data['saleInvoice'] = (l$saleInvoice as String?);
}
if (data.containsKey('saleDeliveryNote')) {
final l$saleDeliveryNote = data['saleDeliveryNote'];
result$data['saleDeliveryNote'] = (l$saleDeliveryNote as String?);
}
if (data.containsKey('purchaseDeliveryNote')) {
final l$purchaseDeliveryNote = data['purchaseDeliveryNote'];
result$data['purchaseDeliveryNote'] = (l$purchaseDeliveryNote as String?);
}
if (data.containsKey('purchaseInvoice')) {
final l$purchaseInvoice = data['purchaseInvoice'];
result$data['purchaseInvoice'] = (l$purchaseInvoice as String?);
}
if (data.containsKey('purchaseOrder')) {
final l$purchaseOrder = data['purchaseOrder'];
result$data['purchaseOrder'] = (l$purchaseOrder as String?);
}
return Input$CommentHolderInput._(result$data);
}