copyWith method
Implementation
OrderData copyWith({
AddressObject? currentAddress,
String? receiver,
String? currentBlock,
String? message,
int? amount,
AppInfo? appInfo,
}) {
return OrderData(
currentAddress: currentAddress ?? this.currentAddress,
receiver: receiver ?? this.receiver,
currentBlock: currentBlock ?? this.currentBlock,
message: message ?? this.message,
amount: amount ?? this.amount,
appInfo: appInfo ?? this.appInfo,
);
}