ChannelMembersResult.fromJson constructor

ChannelMembersResult.fromJson(
  1. dynamic object
)

Implementation

factory ChannelMembersResult.fromJson(dynamic object) =>
    ChannelMembersResult._(
        (object['data'] as List)
            .map((e) => ChannelMemberMetadata.fromJson(e))
            .toList(),
        object['totalCount'] as int?,
        object['next'] as String?,
        object['prev'] as String?);