DescribeAuditTaskResponse.fromJson constructor
DescribeAuditTaskResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeAuditTaskResponse.fromJson(Map<String, dynamic> json) {
return DescribeAuditTaskResponse(
auditDetails: (json['auditDetails'] as Map<String, dynamic>?)?.map((k,
e) =>
MapEntry(k, AuditCheckDetails.fromJson(e as Map<String, dynamic>))),
scheduledAuditName: json['scheduledAuditName'] as String?,
taskStartTime: timeStampFromJson(json['taskStartTime']),
taskStatistics: json['taskStatistics'] != null
? TaskStatistics.fromJson(
json['taskStatistics'] as Map<String, dynamic>)
: null,
taskStatus: (json['taskStatus'] as String?)?.toAuditTaskStatus(),
taskType: (json['taskType'] as String?)?.toAuditTaskType(),
);
}