copyWith method
Implementation
DisplayUpgradedGift copyWith({
MessageSender? ownerId,
String? name,
}) =>
DisplayUpgradedGift(
ownerId: ownerId ?? this.ownerId,
name: name ?? this.name,
);
DisplayUpgradedGift copyWith({
MessageSender? ownerId,
String? name,
}) =>
DisplayUpgradedGift(
ownerId: ownerId ?? this.ownerId,
name: name ?? this.name,
);