ProfileResponseDto constructor
const
ProfileResponseDto({
- required int id,
- required String name,
- required String email,
- required bool isVerified,
- required bool isHandyman,
- required ProfileResponseDtoWallet wallet,
- required ProfileResponseDtoUserDetail userDetail,
- ProfileResponseDtoHandyman? handyman,
- ProfileResponseDtoAddress? address,
- IdentityResponseDto? identity,
- List<
ProfileResponseDtoHandymanCategory> ? categories,
Implementation
const factory ProfileResponseDto({
required int id,
required String name,
required String email,
required bool isVerified,
required bool isHandyman,
required ProfileResponseDtoWallet wallet,
required ProfileResponseDtoUserDetail userDetail,
ProfileResponseDtoHandyman? handyman,
ProfileResponseDtoAddress? address,
IdentityResponseDto? identity,
List<ProfileResponseDtoHandymanCategory>? categories,
}) = _ProfileResponseDto;