User constructor

const User({
  1. Map<String, dynamic>? source,
  2. required String id,
  3. required DateTime updatedAt,
  4. required String username,
  5. required String name,
  6. required String firstName,
  7. required String? lastName,
  8. required String? email,
  9. required int? uploadsRemaining,
  10. required Uri? portfolioUrl,
  11. required String? bio,
  12. required String? location,
  13. required int totalLikes,
  14. required int totalPhotos,
  15. required int totalCollections,
  16. required bool? followedByUser,
  17. required int? followerCount,
  18. required int? followingCount,
  19. required int? downloads,
  20. required String? instagramUsername,
  21. required String? twitterUsername,
  22. required ProfileImage profileImage,
  23. required UserBadge? badge,
  24. required UserLinks links,
})

Implementation

const User({
  Map<String, dynamic>? source,
  required this.id,
  required this.updatedAt,
  required this.username,
  required this.name,
  required this.firstName,
  required this.lastName,
  required this.email,
  required this.uploadsRemaining,
  required this.portfolioUrl,
  required this.bio,
  required this.location,
  required this.totalLikes,
  required this.totalPhotos,
  required this.totalCollections,
  required this.followedByUser,
  required this.followerCount,
  required this.followingCount,
  required this.downloads,
  required this.instagramUsername,
  required this.twitterUsername,
  required this.profileImage,
  required this.badge,
  required this.links,
}) : super(source: source);