fromMap static method
Implementation
static TaskViewAssignees? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return TaskViewAssignees(
manuallyAddedAccountContacts:
readList<Object>(source['manually_added_account_contacts'], readAny),
selectedAccountContacts:
readList<Object>(source['selected_account_contacts'], readAny),
selectedEmployees: readList<TaskViewAssigneesSelectedEmployee>(
source['selected_employees'],
TaskViewAssigneesSelectedEmployee.fromMap),
selectedLabours: readList<TaskViewAssigneesSelectedLabour>(
source['selected_labours'], TaskViewAssigneesSelectedLabour.fromMap),
selectedOperators:
readList<Object>(source['selected_operators'], readAny),
);
}