PageOfChangelogs.fromJson constructor
Implementation
factory PageOfChangelogs.fromJson(Map<String, Object?> json) {
return PageOfChangelogs(
histories: (json[r'histories'] as List<Object?>?)
?.map((i) =>
Changelog.fromJson(i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
maxResults: (json[r'maxResults'] as num?)?.toInt(),
startAt: (json[r'startAt'] as num?)?.toInt(),
total: (json[r'total'] as num?)?.toInt(),
);
}