ChannelStateResponse class

Model response for Channel.query api call

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

ChannelStateResponse()

Properties

channel ChannelModel
Updated channel
getter/setter pair
duration String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
members List<Member>
Channel members
getter/setter pair
messages List<Message>
List of messages returned by the api call
getter/setter pair
read List<Read>
List of read states
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
watcherCount int
Number of users watching the channel
getter/setter pair

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

Static Methods

fromJson(Map<String, dynamic> json) ChannelStateResponse
Create a new instance from a json