WorkerDetails.fromJson constructor
WorkerDetails.fromJson(
- Map json_
Implementation
WorkerDetails.fromJson(core.Map json_)
: this(
workItems: json_.containsKey('workItems')
? (json_['workItems'] as core.List)
.map((value) => WorkItemDetails.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
workerName: json_.containsKey('workerName')
? json_['workerName'] as core.String
: null,
);