copyWith method
Implementation
UserProfileConfig copyWith({
UserProfilePageType? pageType,
bool? hideCloseIcon,
int? width,
int? height,
String? scene,
Map<String, dynamic>? extra,
}) {
return UserProfileConfig(
pageType: pageType ?? this.pageType,
hideCloseIcon: hideCloseIcon ?? this.hideCloseIcon,
width: width ?? this.width,
height: height ?? this.height,
scene: scene ?? this.scene,
extra: extra ?? this.extra,
);
}