NotifyWorkersFailureStatus.fromJson constructor

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

Implementation

factory NotifyWorkersFailureStatus.fromJson(Map<String, dynamic> json) {
  return NotifyWorkersFailureStatus(
    notifyWorkersFailureCode: (json['NotifyWorkersFailureCode'] as String?)
        ?.toNotifyWorkersFailureCode(),
    notifyWorkersFailureMessage:
        json['NotifyWorkersFailureMessage'] as String?,
    workerId: json['WorkerId'] as String?,
  );
}