AssessmentTarget.fromJson constructor

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

Implementation

factory AssessmentTarget.fromJson(Map<String, dynamic> json) {
  return AssessmentTarget(
    arn: json['arn'] as String,
    createdAt: nonNullableTimeStampFromJson(json['createdAt'] as Object),
    name: json['name'] as String,
    updatedAt: nonNullableTimeStampFromJson(json['updatedAt'] as Object),
    resourceGroupArn: json['resourceGroupArn'] as String?,
  );
}