ModerationRestrictions.fromJson constructor

ModerationRestrictions.fromJson(
  1. Map json_
)

Implementation

ModerationRestrictions.fromJson(core.Map json_)
  : this(
      chatRestriction: json_['chatRestriction'] as core.String?,
      defaultJoinAsViewerType:
          json_['defaultJoinAsViewerType'] as core.String?,
      presentRestriction: json_['presentRestriction'] as core.String?,
      reactionRestriction: json_['reactionRestriction'] as core.String?,
    );