TransactionResponseDto class

Annotations
  • @freezed

Constructors

TransactionResponseDto.new({required int id, required String goal, required String duration, required String method, required int amount, required String amountFormatted, String? note, required String status, required String dueAt, required String createdAt, required String updatedAt, required TransactionResponseDtoTransactionable transactionable, required TransactionResponseDtoPayable payable, required TransactionResponseDtoPaidable paidable, TransactionResponseDtoFromCustomer? fromCustomer, TransactionResponseDtoToCustomer? toCustomer, TransactionResponseDtoFromHandyman? fromHandyman, TransactionResponseDtoToHandyman? toHandyman})
const
factory
TransactionResponseDto.fromJson(Map<String, dynamic> json)
factory

Properties

amount int
no setterinherited
amountFormatted String
no setterinherited
copyWith → $TransactionResponseDtoCopyWith<TransactionResponseDto>
Create a copy of TransactionResponseDto with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt String
no setterinherited
dueAt String
no setterinherited
duration String
no setterinherited
fromCustomer TransactionResponseDtoFromCustomer?
no setterinherited
fromHandyman TransactionResponseDtoFromHandyman?
no setterinherited
goal String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
method String
no setterinherited
note String?
no setterinherited
paidable TransactionResponseDtoPaidable
no setterinherited
payable TransactionResponseDtoPayable
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
no setterinherited
toCustomer TransactionResponseDtoToCustomer?
no setterinherited
toHandyman TransactionResponseDtoToHandyman?
no setterinherited
transactionable TransactionResponseDtoTransactionable
no setterinherited
updatedAt String
no setterinherited

Methods

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

Operators

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