TaxProductResourceTaxTransactionResourceReversal.fromJson constructor

TaxProductResourceTaxTransactionResourceReversal.fromJson(
  1. Object? json
)

Implementation

factory TaxProductResourceTaxTransactionResourceReversal.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TaxProductResourceTaxTransactionResourceReversal(
      originalTransaction: map['original_transaction'] == null
          ? null
          : (map['original_transaction'] as String));
}