StoryPrivacySettingsContacts.fromJson constructor

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

Parse from a json

Implementation

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