copyWith method

SetGiftCollectionName copyWith({
  1. MessageSender? ownerId,
  2. int? collectionId,
  3. String? name,
})

Implementation

SetGiftCollectionName copyWith({
  MessageSender? ownerId,
  int? collectionId,
  String? name,
}) =>
    SetGiftCollectionName(
      ownerId: ownerId ?? this.ownerId,
      collectionId: collectionId ?? this.collectionId,
      name: name ?? this.name,
    );