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