LoanReportCreateData class

Constructors

LoanReportCreateData({required int annualIncome, required ProvidedCreditRating creditRating, int? totalDebt, int? countOfDerogatories, State? state, LoanPurpose? loanPurpose, int? loanAmount})
Returns a new LoanReportCreateData instance.

Properties

annualIncome ↔ int
The user's annual income in dollars.
getter/setter pair
countOfDerogatories ↔ int?
The number of derogatory accounts listed on the user's credit report.
getter/setter pair
creditRating ↔ ProvidedCreditRating
The user's credit score range.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
loanAmount ↔ int?
The size of the the loan.
getter/setter pair
loanPurpose ↔ LoanPurpose?
The reason for the loan.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ State?
The user's state of residence.
getter/setter pair
totalDebt ↔ int?
The user's total debt in dollars.
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) → LoanReportCreateData?
Returns a new LoanReportCreateData instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<LoanReportCreateData>
mapFromJson(dynamic json) → Map<String, LoanReportCreateData>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<LoanReportCreateData>>

Constants

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