AdvancedSecurityOverrides.fromJson constructor

AdvancedSecurityOverrides.fromJson(
  1. Map json_
)

Implementation

AdvancedSecurityOverrides.fromJson(core.Map json_)
    : this(
        commonCriteriaMode: json_.containsKey('commonCriteriaMode')
            ? json_['commonCriteriaMode'] as core.String
            : null,
        developerSettings: json_.containsKey('developerSettings')
            ? json_['developerSettings'] as core.String
            : null,
        googlePlayProtectVerifyApps:
            json_.containsKey('googlePlayProtectVerifyApps')
                ? json_['googlePlayProtectVerifyApps'] as core.String
                : null,
        mtePolicy: json_.containsKey('mtePolicy')
            ? json_['mtePolicy'] as core.String
            : null,
        personalAppsThatCanReadWorkNotifications: json_
                .containsKey('personalAppsThatCanReadWorkNotifications')
            ? (json_['personalAppsThatCanReadWorkNotifications'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        untrustedAppsPolicy: json_.containsKey('untrustedAppsPolicy')
            ? json_['untrustedAppsPolicy'] as core.String
            : null,
      );