DescribeProjectResult.fromJson constructor

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

Implementation

factory DescribeProjectResult.fromJson(Map<String, dynamic> json) {
  return DescribeProjectResult(
    arn: json['arn'] as String?,
    clientRequestToken: json['clientRequestToken'] as String?,
    createdTimeStamp: timeStampFromJson(json['createdTimeStamp']),
    description: json['description'] as String?,
    id: json['id'] as String?,
    name: json['name'] as String?,
    projectTemplateId: json['projectTemplateId'] as String?,
    stackId: json['stackId'] as String?,
    status: json['status'] != null
        ? ProjectStatus.fromJson(json['status'] as Map<String, dynamic>)
        : null,
  );
}