ChannelMember class
- Annotations
-
- @freezed
- @immutable
- @JsonSerializable.new()
Constructors
-
ChannelMember({DateTime? archivedAt, DateTime? banExpires, required bool banned, bool? blocked, DenormalizedChannelFields? channel, required String channelRole, required DateTime createdAt, required Map<
String, Object?> custom, DateTime? deletedAt, List<String> ? deletedMessages, DateTime? inviteAcceptedAt, DateTime? inviteRejectedAt, bool? invited, required bool isGlobalBanned, bool? isModerator, required bool notificationsMuted, DateTime? pinnedAt, required bool shadowBanned, String? status, required DateTime updatedAt, User? user, String? userId}) -
const
Properties
- archivedAt → DateTime?
-
final
- banExpires → DateTime?
-
final
- banned → bool
-
final
- blocked → bool?
-
final
- channel → DenormalizedChannelFields?
-
final
- channelRole → String
-
final
-
copyWith
→ $ChannelMemberCopyWith<
ChannelMember> -
Create a copy of ChannelMember
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdAt → DateTime
-
final
-
custom
→ Map<
String, Object?> -
final
- deletedAt → DateTime?
-
final
-
deletedMessages
→ List<
String> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
final
- inviteAcceptedAt → DateTime?
-
final
- invited → bool?
-
final
- inviteRejectedAt → DateTime?
-
final
- isGlobalBanned → bool
-
final
- isModerator → bool?
-
final
- notificationsMuted → bool
-
final
- pinnedAt → DateTime?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowBanned → bool
-
final
- status → String?
-
final
- updatedAt → DateTime
-
final
- user → User?
-
final
- userId → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ChannelMember