copyWith method
Implementation
ProfileState copyWith({
bool? isLoading,
String? sName,
String? sMobile,
String? sEmail,
String? sPan,
}) {
return ProfileState(
isLoading: isLoading ?? this.isLoading,
sName: sName ?? this.sName,
sMobile: sMobile ?? this.sMobile,
sEmail: sEmail ?? this.sEmail,
sPan: sPan ?? this.sPan,
);
}