Lead class

Constructors

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<String>> clientTags = const {}, 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.

Properties

autoInsuranceInformation ↔ LeadAutoInsuranceInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
clientTags ↔ Map<String, List<String>>
Arbitrary key-values mappings to associate with a Lead. This field can be use to attach subids to a Lead
getter/setter pair
coApplicantInformation ↔ LeadCoApplicantInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
companyUUID ↔ String
UUID for a company which created the Lead
getter/setter pair
createdAt ↔ String
getter/setter pair
creditCardInformation ↔ LeadCreditCardInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
creditInformation ↔ LeadCreditInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
deviceId ↔ String?
Unique identifier for the lead's device.
getter/setter pair
educationInformation ↔ LeadEducationInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
employmentInformation ↔ LeadEmploymentInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
financialInformation ↔ LeadFinancialInformation?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
healthInformation ↔ LeadHealthInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
identificationInformation ↔ LeadIdentificationInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isTest ↔ bool
Whether a Lead was created using a test access token
getter/setter pair
leadActions ↔ List<LeadAction>
getter/setter pair
leadProviderName ↔ String
Name of company which provided the lead
getter/setter pair
legalInformation ↔ LeadLegalInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
loanInformation ↔ LeadLoanInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
mortgageInformation ↔ LeadMortgageInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
partnerUserId ↔ String?
A tracking identifier that references a unique user for an API partner
getter/setter pair
personalInformation ↔ LeadPersonalInformation?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
personalReferenceInformation ↔ LeadPersonalReferenceInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
referralCompanyUuid ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
refinanceLoans ↔ List<LeadRefinanceLoanInformationJson>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
savingsInformation ↔ LeadSavingsInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
sessionInformation ↔ LeadSessionInformationJson?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
sessionUuid ↔ String?
UUID used to link leads across verticals, unique per user per supply sub-account
getter/setter pair
status ↔ LeadActionType
The furthest step of the funnel a Lead has reached
getter/setter pair
trackingUuid ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
updatedAt ↔ String
getter/setter pair
uuid ↔ String
Primary UUID for a Lead
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → Lead?
Returns a new Lead instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Lead>
mapFromJson(dynamic json) → Map<String, Lead>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Lead>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.