ChatEventHasProtectedContentToggled.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventHasProtectedContentToggled.fromJson(Map<String, dynamic> json) => ChatEventHasProtectedContentToggled(
  hasProtectedContent: json['has_protected_content'],
);