copyWith method

ProfileState copyWith({
  1. bool? isLoading,
  2. String? sName,
  3. String? sMobile,
  4. String? sEmail,
  5. String? sPan,
})

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,
  );
}