fromJson static method Null safety

ChannelChangeLogsResponse fromJson(
  1. Map<String, dynamic> json
)

Implementation

static ChannelChangeLogsResponse fromJson(Map<String, dynamic> json) {
  final res = _$ChannelChangeLogsResponseFromJson(json);
  res.updatedChannels.forEach((element) => element.saveToCache());
  return res;
}