RecommendedUser.from constructor

RecommendedUser.from({
  1. required String id,
  2. required String name,
  3. required String fullname,
  4. required String pictureUrl,
  5. required int weeklyXp,
  6. required int monthlyXp,
  7. required int totalXp,
})

Returns the new instance of RecommendedUser based on arguments.

Implementation

RecommendedUser.from({
  required this.id,
  required this.name,
  required this.fullname,
  required this.pictureUrl,
  required this.weeklyXp,
  required this.monthlyXp,
  required this.totalXp,
});