TaxTransactionReversal.fromJson constructor

TaxTransactionReversal.fromJson(
  1. Object? json
)

Implementation

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