copyWith method

LoginData copyWith({
  1. String? userId,
  2. String? parentId,
  3. String? token,
  4. String? companyId,
  5. String? masterUserId,
  6. String? userType,
  7. String? name,
  8. String? nameSmall,
  9. String? nameSmall2,
  10. String? emailAddress,
  11. String? countryCode,
  12. String? contactNo,
  13. String? area,
  14. String? pincode,
  15. String? websiteUrl,
  16. String? companyAddress,
  17. String? discountAsPer,
  18. String? showQuantityIndicator,
  19. String? discountAsPerFixed,
  20. String? discoutAsPerProductVise,
  21. String? returnMaxDay,
  22. String? expiryReturn,
  23. String? countryId,
  24. String? country,
  25. String? stateId,
  26. String? state,
  27. String? cityId,
  28. String? city,
  29. String? companyLogoFull,
  30. String? drugLicenseNo,
  31. String? drugLicensePhoto,
  32. String? drugLicensePhotoFull,
  33. String? drugLicensePdf,
  34. String? drugLicensePdfFull,
  35. String? drugLicensePhoto0OrPdf1,
  36. String? gstNo,
  37. String? gstPhoto,
  38. String? gstPhotoFull,
  39. String? gstPdf,
  40. String? gstPdfFull,
  41. String? gstPhoto0OrPdf1,
  42. String? panCardNo,
  43. String? panCardPhoto,
  44. String? panCardPhotoFull,
  45. String? panCardPdf,
  46. String? panCardPdfFull,
  47. String? panCardPhoto0OrPdf1,
  48. String? orderGstTypeId,
  49. CreatedAtDateTime? createdAtDateTime,
  50. UpdatedAtDateTime? updatedAtDateTime,
  51. String? isActive,
  52. String? address,
  53. List<DrugLicenseArray>? drugLicenseArray,
  54. List<RetailerIdsArrayMap>? retailerIdsArrayMap,
})

Implementation

LoginData copyWith({  String? userId,
  String? parentId,
  String? token,
  String? companyId,
  String? masterUserId,
  String? userType,
  String? name,
  String? nameSmall,
  String? nameSmall2,
  String? emailAddress,
  String? countryCode,
  String? contactNo,
  String? area,
  String? pincode,
  String? websiteUrl,
  String? companyAddress,
  String? discountAsPer,
  String? showQuantityIndicator,
  String? discountAsPerFixed,
  String? discoutAsPerProductVise,
  String? returnMaxDay,
  String? expiryReturn,
  String? countryId,
  String? country,
  String? stateId,
  String? state,
  String? cityId,
  String? city,
  String? companyLogo,
  String? companyLogoFull,
  String? drugLicenseNo,
  String? drugLicensePhoto,
  String? drugLicensePhotoFull,
  String? drugLicensePdf,
  String? drugLicensePdfFull,
  String? drugLicensePhoto0OrPdf1,
  String? gstNo,
  String? gstPhoto,
  String? gstPhotoFull,
  String? gstPdf,
  String? gstPdfFull,
  String? gstPhoto0OrPdf1,
  String? panCardNo,
  String? panCardPhoto,
  String? panCardPhotoFull,
  String? panCardPdf,
  String? panCardPdfFull,
  String? panCardPhoto0OrPdf1,
  String? orderGstTypeId,
  CreatedAtDateTime? createdAtDateTime,
  UpdatedAtDateTime? updatedAtDateTime,
  String? isActive,
  String? address,
  List<DrugLicenseArray>? drugLicenseArray,
  List<RetailerIdsArrayMap>? retailerIdsArrayMap,
}) => LoginData(  userId: userId ?? _userId,
  parentId: parentId ?? _parentId,
  token : token ?? _token,
  companyId: companyId ?? _companyId,
  masterUserId: masterUserId ?? _masterUserId,
  userType: userType ?? _userType,
  name: name ?? _name,
  nameSmall: nameSmall ?? _nameSmall,
  nameSmall2: nameSmall2 ?? _nameSmall2,
  emailAddress: emailAddress ?? _emailAddress,
  countryCode: countryCode ?? _countryCode,
  contactNo: contactNo ?? _contactNo,
  area: area ?? _area,
  pincode: pincode ?? _pincode,
  websiteUrl: websiteUrl ?? _websiteUrl,
  companyAddress: companyAddress ?? _companyAddress,
  discountAsPer: discountAsPer ?? _discountAsPer,
  showQuantityIndicator: showQuantityIndicator ?? _showQuantityIndicator,
  discountAsPerFixed: discountAsPerFixed ?? _discountAsPerFixed,
  discoutAsPerProductVise: discoutAsPerProductVise ?? _discoutAsPerProductVise,
  returnMaxDay: returnMaxDay ?? _returnMaxDay,
  expiryReturn: expiryReturn ?? _expiryReturn,
  countryId: countryId ?? _countryId,
  country: country ?? _country,
  stateId: stateId ?? _stateId,
  state: state ?? _state,
  cityId: cityId ?? _cityId,
  city: city ?? _city,
  companyLogo: companyLogo ?? _companyLogo,
  companyLogoFull: companyLogoFull ?? _companyLogoFull,
  drugLicenseNo: drugLicenseNo ?? _drugLicenseNo,
  drugLicensePhoto: drugLicensePhoto ?? _drugLicensePhoto,
  drugLicensePhotoFull: drugLicensePhotoFull ?? _drugLicensePhotoFull,
  drugLicensePdf: drugLicensePdf ?? _drugLicensePdf,
  drugLicensePdfFull: drugLicensePdfFull ?? _drugLicensePdfFull,
  drugLicensePhoto0OrPdf1: drugLicensePhoto0OrPdf1 ?? _drugLicensePhoto0OrPdf1,
  gstNo: gstNo ?? _gstNo,
  gstPhoto: gstPhoto ?? _gstPhoto,
  gstPhotoFull: gstPhotoFull ?? _gstPhotoFull,
  gstPdf: gstPdf ?? _gstPdf,
  gstPdfFull: gstPdfFull ?? _gstPdfFull,
  gstPhoto0OrPdf1: gstPhoto0OrPdf1 ?? _gstPhoto0OrPdf1,
  panCardNo: panCardNo ?? _panCardNo,
  panCardPhoto: panCardPhoto ?? _panCardPhoto,
  panCardPhotoFull: panCardPhotoFull ?? _panCardPhotoFull,
  panCardPdf: panCardPdf ?? _panCardPdf,
  panCardPdfFull: panCardPdfFull ?? _panCardPdfFull,
  panCardPhoto0OrPdf1: panCardPhoto0OrPdf1 ?? _panCardPhoto0OrPdf1,
  orderGstTypeId: orderGstTypeId ?? _orderGstTypeId,
  createdAtDateTime: createdAtDateTime ?? _createdAtDateTime,
  updatedAtDateTime: updatedAtDateTime ?? _updatedAtDateTime,
  isActive: isActive ?? _isActive,
  address: address ?? _address,
  drugLicenseArray: drugLicenseArray ?? _drugLicenseArray,
  retailerIdsArrayMap: retailerIdsArrayMap ?? _retailerIdsArrayMap,
);