copyWith method
AccountInfo
copyWith(
{ - int? registrationMonth,
- int? registrationYear,
- String? phoneNumberCountryCode,
- int? lastNameChangeDate,
- int? lastPhotoChangeDate,
})
Implementation
AccountInfo copyWith({
int? registrationMonth,
int? registrationYear,
String? phoneNumberCountryCode,
int? lastNameChangeDate,
int? lastPhotoChangeDate,
}) => AccountInfo(
registrationMonth: registrationMonth ?? this.registrationMonth,
registrationYear: registrationYear ?? this.registrationYear,
phoneNumberCountryCode:
phoneNumberCountryCode ?? this.phoneNumberCountryCode,
lastNameChangeDate: lastNameChangeDate ?? this.lastNameChangeDate,
lastPhotoChangeDate: lastPhotoChangeDate ?? this.lastPhotoChangeDate,
);