BillResponseDto class

Annotations
  • @freezed

Constructors

BillResponseDto.new({required int id, required int amount, required String amountFormatted, required int platformFee, required String platformFeeFormatted, required int totalPaid, required String totalPaidFormatted, required String createdAt, required String updatedAt, required String billableType, required int billableId, WorkerResponseDto? worker, ServiceWorkerResponseDto? serviceWorker, required List<ReviewResponseDto> reviews})
const
factory
BillResponseDto.fromJson(Map<String, dynamic> json)
factory

Properties

amount int
no setterinherited
amountFormatted String
no setterinherited
billableId int
no setterinherited
billableType String
no setterinherited
copyWith → $BillResponseDtoCopyWith<BillResponseDto>
Create a copy of BillResponseDto with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
platformFee int
no setterinherited
platformFeeFormatted String
no setterinherited
reviews List<ReviewResponseDto>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceWorker ServiceWorkerResponseDto?
no setterinherited
totalPaid int
no setterinherited
totalPaidFormatted String
no setterinherited
updatedAt String
no setterinherited
worker WorkerResponseDto?
no setterinherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited