LiveChatModeratorSnippet.fromJson constructor

LiveChatModeratorSnippet.fromJson(
  1. Map json_
)

Implementation

LiveChatModeratorSnippet.fromJson(core.Map json_)
    : this(
        liveChatId: json_.containsKey('liveChatId')
            ? json_['liveChatId'] as core.String
            : null,
        moderatorDetails: json_.containsKey('moderatorDetails')
            ? ChannelProfileDetails.fromJson(json_['moderatorDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
      );