CancelDataRepositoryTaskResponse.fromJson constructor

CancelDataRepositoryTaskResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CancelDataRepositoryTaskResponse.fromJson(Map<String, dynamic> json) {
  return CancelDataRepositoryTaskResponse(
    lifecycle:
        (json['Lifecycle'] as String?)?.toDataRepositoryTaskLifecycle(),
    taskId: json['TaskId'] as String?,
  );
}