LabeledContentPageResponse.fromJson constructor
Implementation
factory LabeledContentPageResponse.fromJson(Map<String, Object?> json) {
return LabeledContentPageResponse(
results: (json[r'results'] as List<Object?>?)
?.map((i) => LabeledContent.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
start: (json[r'start'] as num?)?.toInt(),
limit: (json[r'limit'] as num?)?.toInt(),
size: (json[r'size'] as num?)?.toInt() ?? 0,
);
}