TransactionResponseDto class

The TransactionResponseDto class is a data transfer object that represents a response from a transaction, including success status, message, and data.

Constructors

TransactionResponseDto({bool? success, String? message, Data? data})
TransactionResponseDto.fromJson(dynamic json)

Properties

data Data?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool?
getter/setter pair

Methods

copyWith({bool? success, String? message, Data? data}) TransactionResponseDto
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.
inherited

Operators

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