Channel class

Creates a channel.

Constructors

Channel({String? channelArn, Identity? createdBy, DateTime? createdTimestamp, DateTime? lastMessageTimestamp, DateTime? lastUpdatedTimestamp, String? metadata, ChannelMode? mode, String? name, ChannelPrivacy? privacy})
Channel.fromJson(Map<String, dynamic> json)
factory

Properties

channelArn String?
The ARN of the channel.
final
createdBy Identity?
The administrator who created the channel.
final
createdTimestamp DateTime?
The time at which the administrator created the channel.
final
hashCode int
The hash code for this object.
no setterinherited
lastMessageTimestamp DateTime?
The time at which a member sent the last message in a session.
final
lastUpdatedTimestamp DateTime?
The time at which a channel was last updated.
final
metadata String?
The metadata of the channel.
final
mode ChannelMode?
The mode of the channel.
final
name String?
The name of the channel.
final
privacy ChannelPrivacy?
The channel's privacy setting, PUBLIC or HIDDEN.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited