Task.fromJson constructor
Implementation
factory Task.fromJson(Map<String, dynamic> json) {
return Task(
status: (json['Status'] as String).toStatus(),
progressPercent: json['ProgressPercent'] as int?,
statusDetail: json['StatusDetail'] as String?,
);
}