ProgressDetail.fromJson constructor
Implementation
factory ProgressDetail.fromJson(Map<String, dynamic> json) {
return ProgressDetail(
currentProgress:
(json['currentProgress'] as String?)?.toRobotDeploymentStep(),
estimatedTimeRemainingSeconds:
json['estimatedTimeRemainingSeconds'] as int?,
percentDone: json['percentDone'] as double?,
targetResource: json['targetResource'] as String?,
);
}