Author constructor

const Author({
  1. required Badge activeBadge,
  2. required bool isActive,
  3. required bool isDiscussAdmin,
  4. required bool isDiscussStaff,
  5. required String nameColor,
  6. required AuthorProfile profile,
  7. required String username,
})

Implementation

const factory Author({
  required Badge activeBadge,
  required bool isActive,
  required bool isDiscussAdmin,
  required bool isDiscussStaff,
  required String nameColor,
  required AuthorProfile profile,
  required String username,
}) = _Author;