copyWith method

UpdateUser copyWith({
  1. User? user,
})

Implementation

UpdateUser copyWith({User? user}) => UpdateUser(user: user ?? this.user);