BaseChannel class
Objects representing a channel.
Constructors
Properties
- channelType → ChannelType
-
ChannelType
read-only
- channelUrl ↔ String
-
The unique channel URL.
read / write
- chat ↔ Chat
-
read / write
- coverUrl ↔ String
-
The cover image URL.
read / write
- createdAt ↔ int?
-
The creation time of the channel.
read / write
- customType ↔ String
-
The custom type of the channel.
read / write
- data → String
-
The channel data.
read-only
- dirty ↔ bool
-
read / write
- fromCache ↔ bool
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- isEphemeral → bool
-
Whether the channel is ephemeral.
read-only
- isFrozen ↔ bool
-
Whether the channel is frozen.
read / write
- key → String
-
read-only
- name ↔ String
-
The topic or name of the channel.
read / write
- primaryKey → String
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
checkUnsupportedAction(
) → void -
copyWith(
dynamic other) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
Chat chat) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
getBaseChannel(
ChannelType type, String channelUrl, {Chat? chat}) → Future< BaseChannel> -
refreshChannel(
ChannelType channelType, String channelUrl, {Chat? chat}) → Future< BaseChannel>