LiveChatPollDetails.fromJson constructor

LiveChatPollDetails.fromJson(
  1. Map json_
)

Implementation

LiveChatPollDetails.fromJson(core.Map json_)
    : this(
        metadata: json_.containsKey('metadata')
            ? LiveChatPollDetailsPollMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );