FollowingUser.from constructor

FollowingUser.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,
  8. required bool hasPlus,
})

Returns the new instance of FollowingUser based on arguments.

Implementation

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