Lead constructor
Lead({
- required String leadProviderName,
- LeadPersonalInformation? personalInformation,
- LeadPersonalReferenceInformationJson? personalReferenceInformation,
- LeadLoanInformationJson? loanInformation,
- LeadMortgageInformationJson? mortgageInformation,
- LeadCreditCardInformationJson? creditCardInformation,
- LeadSavingsInformationJson? savingsInformation,
- LeadCreditInformationJson? creditInformation,
- LeadFinancialInformation? financialInformation,
- LeadEmploymentInformationJson? employmentInformation,
- LeadLegalInformationJson? legalInformation,
- LeadEducationInformationJson? educationInformation,
- LeadCoApplicantInformationJson? coApplicantInformation,
- LeadHealthInformationJson? healthInformation,
- LeadIdentificationInformationJson? identificationInformation,
- LeadAutoInsuranceInformationJson? autoInsuranceInformation,
- List<
LeadRefinanceLoanInformationJson> refinanceLoans = const [], - Map<
String, List< clientTags = const {},String> > - LeadSessionInformationJson? sessionInformation,
- List<
LeadAction> leadActions = const [], - required String uuid,
- required String companyUUID,
- String? sessionUuid,
- String? deviceId,
- String? referralCompanyUuid,
- String? trackingUuid,
- String? partnerUserId,
- required bool isTest,
- required LeadActionType status,
- required String createdAt,
- required String updatedAt,
Returns a new Lead instance.
Implementation
Lead({
required this.leadProviderName,
this.personalInformation,
this.personalReferenceInformation,
this.loanInformation,
this.mortgageInformation,
this.creditCardInformation,
this.savingsInformation,
this.creditInformation,
this.financialInformation,
this.employmentInformation,
this.legalInformation,
this.educationInformation,
this.coApplicantInformation,
this.healthInformation,
this.identificationInformation,
this.autoInsuranceInformation,
this.refinanceLoans = const [],
this.clientTags = const {},
this.sessionInformation,
this.leadActions = const [],
required this.uuid,
required this.companyUUID,
this.sessionUuid,
this.deviceId,
this.referralCompanyUuid,
this.trackingUuid,
this.partnerUserId,
required this.isTest,
required this.status,
required this.createdAt,
required this.updatedAt,
});