ChannelModeratorSummary.fromJson constructor

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

Implementation

factory ChannelModeratorSummary.fromJson(Map<String, dynamic> json) {
  return ChannelModeratorSummary(
    moderator: json['Moderator'] != null
        ? Identity.fromJson(json['Moderator'] as Map<String, dynamic>)
        : null,
  );
}