HandymanResponseDto class
- Annotations
-
- @freezed
Constructors
- HandymanResponseDto({required int id, required String slug, required String headline, required String bio, required bool isVerified, required String? averageRating, required double? distanceInKm, required int createdServicesCount, required int completedWorkCount, required HandymanResponseDtoUser user})
-
constfactory
-
HandymanResponseDto.fromJson(Map<
String, dynamic> json) -
factory
Properties
- averageRating → String?
-
no setterinherited
- bio → String
-
no setterinherited
- completedWorkCount → int
-
no setterinherited
-
copyWith
→ $HandymanResponseDtoCopyWith<
HandymanResponseDto> -
Create a copy of HandymanResponseDto
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdServicesCount → int
-
no setterinherited
- distanceInKm → double?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- headline → String
-
no setterinherited
- id → int
-
no setterinherited
- isVerified → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug → String
-
no setterinherited
- user → HandymanResponseDtoUser
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this HandymanResponseDto to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited