ChannelEvent class Null safety
Represents channel related event
- Implemented types
- Annotations
- @JsonSerializable(createToJson: false)
Constructors
-
ChannelEvent({required ChannelType channelType, required String channelUrl, required ChannelEventCategory category, required Map<
String, dynamic> data, int? ts, int? messageOffset}) -
ChannelEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- allowAutoUnhide → bool?
-
read-only
- category → ChannelEventCategory
-
@JsonKey(fromJson: channelEventValueOf, name: 'cat'), final
- channelType → ChannelType
-
final
- channelUrl → String
-
final
-
data
→ Map<
String, dynamic> -
@JsonKey(defaultValue: const {}), final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
read-only
- hidePreviousMessage → bool
-
read-only
- invitedAt → int
-
read-only
- invitee → Member?
-
read-only
-
invitees
→ List<
Member> -
read-only
- inviter → Member?
-
read-only
- joinedAt → int
-
read-only
- joinedMemberCount → int
-
read-only
- memberCount → int
-
read-only
- messageOffset → int?
-
@JsonKey(name: 'ts_message_offset'), final
-
operators
→ List<
Member> -
read-only
- participantCount → int
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- ts → int?
-
final
- user → User?
-
read-only
-
users
→ List<
Member> -
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited