copyWith method

CreateGiftCollection copyWith({
  1. MessageSender? ownerId,
  2. String? name,
  3. List<String>? receivedGiftIds,
})

Implementation

CreateGiftCollection copyWith({
  MessageSender? ownerId,
  String? name,
  List<String>? receivedGiftIds,
}) =>
    CreateGiftCollection(
      ownerId: ownerId ?? this.ownerId,
      name: name ?? this.name,
      receivedGiftIds: receivedGiftIds ?? this.receivedGiftIds,
    );