EffectivePolicy.fromJson constructor

EffectivePolicy.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EffectivePolicy.fromJson(Map<String, dynamic> json) {
  return EffectivePolicy(
    lastUpdatedTimestamp: timeStampFromJson(json['LastUpdatedTimestamp']),
    policyContent: json['PolicyContent'] as String?,
    policyType: (json['PolicyType'] as String?)?.toEffectivePolicyType(),
    targetId: json['TargetId'] as String?,
  );
}