Group class
- Available Extensions
- Annotations
-
- @freezed
Constructors
-
Group({String? id, String? name, String? description, List<
String> ? tags, GroupType? groupType, PostLevel? postLevel, String? banner, @Default(JoinStatus.NotDefine) JoinStatus? joinStatus, String? communityId, int? price, @Default(Role.User) Role myRole, @JsonKey(name: 'tabs') List<Section> ? sections, @Default(false) bool isByMe, @Default(false) bool isFeatured, @Default(0) int userCount, @Default(0) int quizCount, @Default(0) int liveClassesCount, @Default(0) int notesCount, String? createdAt, UserModel? createdBy}) -
constfactory
-
Group.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
no setterinherited
- communityId → String?
-
no setterinherited
-
copyWith
→ $GroupCopyWith<
Group> -
no setterinherited
- createdAt → String?
-
no setterinherited
- createdBy → UserModel?
-
no setterinherited
- description → String?
-
no setterinherited
- groupType → GroupType?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- isByMe → bool
-
no setterinherited
- isFeatured → bool
-
no setterinherited
- joinStatus → JoinStatus?
-
no setterinherited
- liveClassesCount → int
-
no setterinherited
- myRole → Role
-
no setterinherited
- name → String?
-
no setterinherited
- notesCount → int
-
no setterinherited
- postLevel → PostLevel?
-
no setterinherited
- price → int?
-
no setterinherited
- quizCount → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sections
→ List<
Section> ? -
no setterinherited
-
no setterinherited
- userCount → int
-
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