fromJson static method

ChannelCreatedEvent fromJson(
  1. dynamic json
)

Implementation

static ChannelCreatedEvent fromJson(dynamic json) {
  var channelId = json["channelId"] as String;
  return ChannelCreatedEvent._internal(channelId);
}