ProfileSettings.fromJson constructor

ProfileSettings.fromJson(
  1. Map json_
)

Implementation

ProfileSettings.fromJson(core.Map json_)
    : this(
        friendsListVisibility: json_.containsKey('friendsListVisibility')
            ? json_['friendsListVisibility'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        profileVisible: json_.containsKey('profileVisible')
            ? json_['profileVisible'] as core.bool
            : null,
      );