CrossProfilePolicies.fromJson constructor

CrossProfilePolicies.fromJson(
  1. Map json_
)

Implementation

CrossProfilePolicies.fromJson(core.Map json_)
  : this(
      crossProfileAppFunctions:
          json_['crossProfileAppFunctions'] as core.String?,
      crossProfileCopyPaste: json_['crossProfileCopyPaste'] as core.String?,
      crossProfileDataSharing:
          json_['crossProfileDataSharing'] as core.String?,
      exemptionsToShowWorkContactsInPersonalProfile:
          json_.containsKey('exemptionsToShowWorkContactsInPersonalProfile')
              ? PackageNameList.fromJson(
                json_['exemptionsToShowWorkContactsInPersonalProfile']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      showWorkContactsInPersonalProfile:
          json_['showWorkContactsInPersonalProfile'] as core.String?,
      workProfileWidgetsDefault:
          json_['workProfileWidgetsDefault'] as core.String?,
    );