ExportArchivedIssuesTaskProgressResponse.fromJson constructor

ExportArchivedIssuesTaskProgressResponse.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ExportArchivedIssuesTaskProgressResponse.fromJson(
    Map<String, Object?> json) {
  return ExportArchivedIssuesTaskProgressResponse(
    fileUrl: json[r'fileUrl'] as String?,
    payload: json[r'payload'] as String?,
    progress: (json[r'progress'] as num?)?.toInt(),
    status: json[r'status'] as String?,
    submittedTime: DateTime.tryParse(json[r'submittedTime'] as String? ?? ''),
    taskId: json[r'taskId'] as String?,
  );
}