PolicyEnforcementRule.fromJson constructor

PolicyEnforcementRule.fromJson(
  1. Map json_
)

Implementation

PolicyEnforcementRule.fromJson(core.Map json_)
    : this(
        blockAction: json_.containsKey('blockAction')
            ? BlockAction.fromJson(
                json_['blockAction'] as core.Map<core.String, core.dynamic>)
            : null,
        settingName: json_.containsKey('settingName')
            ? json_['settingName'] as core.String
            : null,
        wipeAction: json_.containsKey('wipeAction')
            ? WipeAction.fromJson(
                json_['wipeAction'] as core.Map<core.String, core.dynamic>)
            : null,
      );