fromJsonWithChat static method

FeedChannelChangeLogs fromJsonWithChat(
  1. Chat chat,
  2. Map<String, dynamic> json
)

Implementation

static FeedChannelChangeLogs fromJsonWithChat(
    Chat chat, Map<String, dynamic> json) {
  final res = _$FeedChannelChangeLogsFromJson(json);

  for (final channel in res.updatedChannels) {
    channel.set(chat);
  }
  return res;
}