copyWith method
StarTransaction
copyWith({
- String? id,
- StarAmount? starAmount,
- bool? isRefund,
- int? date,
- StarTransactionType? type,
Implementation
StarTransaction copyWith({
String? id,
StarAmount? starAmount,
bool? isRefund,
int? date,
StarTransactionType? type,
}) => StarTransaction(
id: id ?? this.id,
starAmount: starAmount ?? this.starAmount,
isRefund: isRefund ?? this.isRefund,
date: date ?? this.date,
type: type ?? this.type,
);