UserPrivacySettingRuleAllowUsers.fromJson constructor

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

Parse from a json

Implementation

factory UserPrivacySettingRuleAllowUsers.fromJson(Map<String, dynamic> json) => UserPrivacySettingRuleAllowUsers(
  userIds: List<int>.from((json['user_ids'] ?? []).map((item) => item).toList()),
);