ChannelStateResponse class Null safety

Model response for Channel.query api call

Annotations

Constructors

ChannelStateResponse()

Properties

channel ChannelModel
Updated channel
read / write
duration String?
read / write, inherited
hashCode int
The hash code for this object.
read-only, inherited
members List<Member>
Channel members
@JsonKey(defaultValue: []), read / write
messages List<Message>
List of messages returned by the api call
@JsonKey(defaultValue: []), read / write
read List<Read>
List of read states
@JsonKey(defaultValue: []), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
watcherCount int
Number of users watching the channel
@JsonKey(defaultValue: 0), read / write

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

Static Methods

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