feat: Converted to ios models
This commit is contained in:
@@ -25,22 +25,22 @@ class ChannelState {
|
||||
final ChannelModel? channel;
|
||||
|
||||
/// A paginated list of channel messages
|
||||
final List<Message>? messages;
|
||||
final List<Message> messages;
|
||||
|
||||
/// A paginated list of channel members
|
||||
final List<Member?>? members;
|
||||
final List<Member?> members;
|
||||
|
||||
/// A paginated list of pinned messages
|
||||
final List<Message>? pinnedMessages;
|
||||
final List<Message> pinnedMessages;
|
||||
|
||||
/// The count of users watching the channel
|
||||
final int? watcherCount;
|
||||
|
||||
/// A paginated list of users watching the channel
|
||||
final List<User>? watchers;
|
||||
final List<User> watchers;
|
||||
|
||||
/// The list of channel reads
|
||||
final List<Read>? read;
|
||||
final List<Read> read;
|
||||
|
||||
/// Create a new instance from a json
|
||||
static ChannelState fromJson(Map<String, dynamic> json) =>
|
||||
|
||||
Reference in New Issue
Block a user