copyWith abstract method

  1. @useResult
UserProfileData copyWith({
  1. String? userName,
  2. String? fullName,
  3. String? email,
})

Returns a shallow copy of this UserProfileData with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
UserProfileData copyWith({
  String? userName,
  String? fullName,
  String? email,
});