PollMessageMessage.fromJson constructor

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

Implementation

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