MigrationTaskSummary.fromJson constructor
MigrationTaskSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MigrationTaskSummary.fromJson(Map<String, dynamic> json) {
return MigrationTaskSummary(
migrationTaskName: json['MigrationTaskName'] as String?,
progressPercent: json['ProgressPercent'] as int?,
progressUpdateStream: json['ProgressUpdateStream'] as String?,
status: (json['Status'] as String?)?.toStatus(),
statusDetail: json['StatusDetail'] as String?,
updateDateTime: timeStampFromJson(json['UpdateDateTime']),
);
}