LiveChatPollDetailsPollMetadataPollOption.fromJson constructor

LiveChatPollDetailsPollMetadataPollOption.fromJson(
  1. Map json_
)

Implementation

LiveChatPollDetailsPollMetadataPollOption.fromJson(core.Map json_)
    : this(
        optionText: json_.containsKey('optionText')
            ? json_['optionText'] as core.String
            : null,
        tally:
            json_.containsKey('tally') ? json_['tally'] as core.String : null,
      );