Activity constructor

Activity({
  1. required String name,
  2. required ActivityType type,
  3. required String? url,
  4. required DateTime createdAt,
  5. required String? details,
  6. required String? state,
  7. required ActivityEmoji? emoji,
})

Implementation

Activity({
  required this.name,
  required this.type,
  required this.url,
  required this.createdAt,
  required this.details,
  required this.state,
  required this.emoji,
});