UpdateUserPrivacySettingRules.fromJson constructor

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

Parse from a json

Implementation

factory UpdateUserPrivacySettingRules.fromJson(Map<String, dynamic> json) =>
    UpdateUserPrivacySettingRules(
      setting: UserPrivacySetting.fromJson(json['setting']),
      rules: UserPrivacySettingRules.fromJson(json['rules']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );