WorkerBlock.fromJson constructor

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

Implementation

factory WorkerBlock.fromJson(Map<String, dynamic> json) {
  return WorkerBlock(
    reason: json['Reason'] as String?,
    workerId: json['WorkerId'] as String?,
  );
}