UserProfile constructor

const UserProfile({
  1. required String aboutMe,
  2. required int categoryDiscussCount,
  3. required int categoryDiscussCountDiff,
  4. String? company,
  5. String? countryName,
  6. String? jobTitle,
  7. required int postViewCount,
  8. required int postViewCountDiff,
  9. required int ranking,
  10. required String realName,
  11. required int reputation,
  12. required int reputationDiff,
  13. String? school,
  14. required List<String> skillTags,
  15. required int solutionCount,
  16. required int solutionCountDiff,
  17. required String userAvatar,
  18. required List<String> websites,
})

Implementation

const factory UserProfile({
  required String aboutMe,
  required int categoryDiscussCount,
  required int categoryDiscussCountDiff,
  String? company,
  String? countryName,
  String? jobTitle,
  required int postViewCount,
  required int postViewCountDiff,
  required int ranking,
  required String realName,
  required int reputation,
  required int reputationDiff,
  String? school,
  required List<String> skillTags,
  required int solutionCount,
  required int solutionCountDiff,
  required String userAvatar,
  required List<String> websites,
}) = _UserProfile;