PolicyTargetSummary.fromJson constructor

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

Implementation

factory PolicyTargetSummary.fromJson(Map<String, dynamic> json) {
  return PolicyTargetSummary(
    arn: json['Arn'] as String?,
    name: json['Name'] as String?,
    targetId: json['TargetId'] as String?,
    type: (json['Type'] as String?)?.toTargetType(),
  );
}