Author class

Annotations
  • @freezed

Constructors

Author({required Badge activeBadge, required bool isActive, required bool isDiscussAdmin, required bool isDiscussStaff, required String nameColor, required AuthorProfile profile, required String username})
const
factory
Author.fromJson(Map<String, Object?> json)
factory

Properties

activeBadge Badge
no setterinherited
copyWith → $AuthorCopyWith<Author>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isActive bool
no setterinherited
isDiscussAdmin bool
no setterinherited
isDiscussStaff bool
no setterinherited
nameColor String
no setterinherited
profile AuthorProfile
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited