UserPrivacySettingRuleRestrictUsers.fromJson constructor

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

Parse from a json

Implementation

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