listFromJson static method
Implementation
static List<ServicePaginationAllOf> listFromJson(List<dynamic>? json) {
if (json == null) {
return <ServicePaginationAllOf>[];
}
return json.fold(<ServicePaginationAllOf>[],
(List<ServicePaginationAllOf> previousValue, element) {
final ServicePaginationAllOf? object =
ServicePaginationAllOf.fromJson(element);
if (object is ServicePaginationAllOf) {
previousValue.add(object);
}
return previousValue;
});
}