fromMap static method

Implementation

static TaskViewAssigneesSelectedEmployee? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return TaskViewAssigneesSelectedEmployee(
    displayOrder: readInteger(source['display_order']),
    email: readText(source['email']),
    employeeCode: readText(source['employee_code']),
    name: readText(source['name']),
    responsibility: readAny(source['responsibility']),
    uuid: readText(source['uuid']),
  );
}