UGoldTxnResponse constructor

UGoldTxnResponse({
  1. required String id,
  2. required List<int> tags,
  3. required UGoldTxnJson jsonData,
  4. required String userId,
  5. required double goldAmount,
  6. required double amount,
  7. required double unitPrice,
  8. required String idempotencyKey,
  9. required List<String> adminUserIds,
  10. DateTime? createdAt,
  11. UUserResponse? user,
  12. UUserResponse? creator,
  13. String? creatorId,
  14. String? orderId,
})

Implementation

UGoldTxnResponse({
  required this.id,
  required this.tags,
  required this.jsonData,
  required this.userId,
  required this.goldAmount,
  required this.amount,
  required this.unitPrice,
  required this.idempotencyKey,
  required this.adminUserIds,
  this.createdAt,
  this.user,
  this.creator,
  this.creatorId,
  this.orderId,
});