copyWith method

CreateGroupRoomDto copyWith({
  1. List<String>? usersEmails,
  2. String? groupTitle,
  3. File? groupImage,
})

Implementation

CreateGroupRoomDto copyWith({
  List<String>? usersEmails,
  String? groupTitle,
  File? groupImage,
}) {
  return CreateGroupRoomDto(
    usersEmails: usersEmails ?? this.usersEmails,
    groupTitle: groupTitle ?? this.groupTitle,
    groupImage: groupImage ?? this.groupImage,
  );
}