Follower.from constructor

Follower.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 Follower based on arguments.

Implementation

Follower.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,
});