PollVoteRestrictionReasonScheduled.fromJson constructor

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

Parses a PollVoteRestrictionReasonScheduled from TDLib JSON.

Implementation

factory PollVoteRestrictionReasonScheduled.fromJson(
  Map<String, dynamic> json,
) => const PollVoteRestrictionReasonScheduled();