PollMessageChannel.fromJson constructor

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

Implementation

factory PollMessageChannel.fromJson(Map<String, dynamic> json) =>
    PollMessageChannel(
      data: Channel.fromJson(json),
      payload: json,
    );