TransactionModel constructor
TransactionModel({
- String? id,
- required TransactionType type,
- required TransactionStatus status,
- required PaymentMethod paymentMethod,
- required String token,
- required int credit,
- int price = 0,
- required DateTime createdAt,
- required String userId,
- String? campainId,
- String? offerId,
Implementation
TransactionModel({
this.id,
required this.type,
required this.status,
required this.paymentMethod,
required this.token,
required this.credit,
this.price = 0,
required this.createdAt,
required this.userId,
this.campainId,
this.offerId,
});