DataPolicy.fromJson constructor

DataPolicy.fromJson(
  1. Map json_
)

Implementation

DataPolicy.fromJson(core.Map json_)
    : this(
        dataMaskingPolicy: json_.containsKey('dataMaskingPolicy')
            ? DataMaskingPolicy.fromJson(json_['dataMaskingPolicy']
                as core.Map<core.String, core.dynamic>)
            : null,
        dataPolicyId: json_.containsKey('dataPolicyId')
            ? json_['dataPolicyId'] as core.String
            : null,
        dataPolicyType: json_.containsKey('dataPolicyType')
            ? json_['dataPolicyType'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        policyTag: json_.containsKey('policyTag')
            ? json_['policyTag'] as core.String
            : null,
      );