copyWith method

GetUpgradedGift copyWith({
  1. String? name,
})

Implementation

GetUpgradedGift copyWith({String? name}) =>
    GetUpgradedGift(name: name ?? this.name);