PollMessageInfo.fromJson constructor

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

Implementation

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