ReviewResponseDto class

Annotations
  • @freezed

Constructors

ReviewResponseDto({required int id, required String kind, required double rate, String? comment, required ReviewResponseDtoReviewer reviewer, required ReviewResponseDtoReviewed reviewed, ReviewResponseDtoCustomer? customer, ReviewResponseDtoHandyman? handyman, required String createdAt, required String updatedAt})
const
factory
ReviewResponseDto.fromJson(Map<String, dynamic> json)
factory

Properties

comment String?
no setterinherited
copyWith → $ReviewResponseDtoCopyWith<ReviewResponseDto>
Create a copy of ReviewResponseDto with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt String
no setterinherited
customer ReviewResponseDtoCustomer?
no setterinherited
handyman ReviewResponseDtoHandyman?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
kind String
no setterinherited
rate double
no setterinherited
reviewed ReviewResponseDtoReviewed
no setterinherited
reviewer ReviewResponseDtoReviewer
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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 ReviewResponseDto to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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