TaskProgressBeanRemoveOptionFromIssuesResult.fromJson constructor
TaskProgressBeanRemoveOptionFromIssuesResult.fromJson(
- Map<String, Object?> json
)
Implementation
factory TaskProgressBeanRemoveOptionFromIssuesResult.fromJson(
Map<String, Object?> json) {
return TaskProgressBeanRemoveOptionFromIssuesResult(
description: json[r'description'] as String?,
elapsedRuntime: (json[r'elapsedRuntime'] as num?)?.toInt() ?? 0,
finished: (json[r'finished'] as num?)?.toInt(),
id: json[r'id'] as String? ?? '',
lastUpdate: (json[r'lastUpdate'] as num?)?.toInt() ?? 0,
message: json[r'message'] as String?,
progress: (json[r'progress'] as num?)?.toInt() ?? 0,
result: json[r'result'] != null
? RemoveOptionFromIssuesResult.fromJson(
json[r'result']! as Map<String, Object?>)
: null,
self: json[r'self'] as String? ?? '',
started: (json[r'started'] as num?)?.toInt(),
status: TaskProgressBeanRemoveOptionFromIssuesResultStatus.fromValue(
json[r'status'] as String? ?? ''),
submitted: (json[r'submitted'] as num?)?.toInt() ?? 0,
submittedBy: (json[r'submittedBy'] as num?)?.toInt() ?? 0,
);
}