Community class

Implementers
Annotations
  • @freezed

Constructors

Community({String? id, String? name, String? address, String? createdAt, String? defaultGroup, @Default('user') String myRole, @Default(false) dynamic joined, @Default(false) dynamic isFeatured, @Default(false) dynamic isByMe, @Default(0) dynamic subscribersCount, UserModel? createdBy})
const
factory
Community.fromJson(Map<String, dynamic> json)
factory

Properties

address String?
no setterinherited
copyWith → $CommunityCopyWith<Community>
no setterinherited
createdAt String?
no setterinherited
createdBy UserModel?
no setterinherited
defaultGroup String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
no setterinherited
isByMe → dynamic
no setterinherited
isFeatured → dynamic
no setterinherited
joined → dynamic
no setterinherited
no setterinherited
myRole String
no setterinherited
name String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscribersCount → dynamic
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