copyWith method
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,
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,
);