fromMap static method
Implementation
static EmployeeList? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return EmployeeList(
data: readList<Employee>(source['data'], Employee.fromMap),
object: readText(source['object']),
pagination: Pagination.fromMap(source['pagination']),
url: readText(source['url']),
);
}