JobProposalResponseDto class
- Annotations
-
- @freezed
Constructors
-
JobProposalResponseDto.new({required int id, required int jobId, required int handymanId, required String status, required int amount, required int totalBudgetCustomerWillSee, required int totalBudgetHandymanWillReceive, required String coverLetter, required int quantity, required int platformFee, required DateTime createdAt, required DateTime updatedAt, required JobProposalResponseDtoHandyman handyman, required List<
JobProposalPaymentStage> jobProposalPaymentStages}) -
constfactory
-
JobProposalResponseDto.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount → int
-
no setterinherited
-
copyWith
→ $JobProposalResponseDtoCopyWith<
JobProposalResponseDto> -
Create a copy of JobProposalResponseDto
with the given fields replaced by the non-null parameter values.
no setterinherited
- coverLetter → String
-
no setterinherited
- createdAt → DateTime
-
no setterinherited
- handyman → JobProposalResponseDtoHandyman
-
no setterinherited
- handymanId → int
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
no setterinherited
- jobId → int
-
no setterinherited
-
jobProposalPaymentStages
→ List<
JobProposalPaymentStage> -
no setterinherited
- platformFee → int
-
no setterinherited
- quantity → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
no setterinherited
- totalBudgetCustomerWillSee → int
-
no setterinherited
- totalBudgetHandymanWillReceive → int
-
no setterinherited
- updatedAt → DateTime
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this JobProposalResponseDto to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited