ProfileResponseDto constructor

const ProfileResponseDto({
  1. required int id,
  2. required String name,
  3. required String email,
  4. required bool isVerified,
  5. required bool isHandyman,
  6. required ProfileResponseDtoWallet wallet,
  7. required ProfileResponseDtoUserDetail userDetail,
  8. ProfileResponseDtoHandyman? handyman,
  9. ProfileResponseDtoAddress? address,
  10. IdentityResponseDto? identity,
  11. 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;